| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| DWARFLocationExpression.cpp | 16 const DWARFLocationExpression &Loc) { 17 return OS << Loc.Range << ": " 18 << formatv("{0}", make_range(Loc.Expr.begin(), Loc.Expr.end()));
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| DataCollection.cpp | 19 ASTContext &Context, SourceLocation Loc) { 20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), 33 std::string getMacroStack(SourceLocation Loc, ASTContext &Context) { 39 while (Loc.isMacroID()) { 41 printMacroName(MacroStackStream, Context, Loc); 42 Loc = SM.getImmediateMacroCallerLoc(Loc);
|
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| PPConditionalDirectiveRecord.cpp | 47 SourceLocation Loc) const { 48 if (Loc.isInvalid()) 54 Loc)) 58 CondDirectiveLocs, Loc, CondDirectiveLoc::Comp(SourceMgr)); 75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, 78 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); 79 CondDirectiveStack.push_back(Loc); 82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, 85 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); 86 CondDirectiveStack.push_back(Loc); [all...] |
| PPCallbacks.cpp | 17 void PPCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, 24 void PPChainedCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, 27 First->HasInclude(Loc, FileName, IsAngled, File, FileType); 28 Second->HasInclude(Loc, FileName, IsAngled, File, FileType);
|
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| errors.h | 15 struct Loc; 26 D_ATTRIBUTE_FORMAT(2, 3) void warning(const Loc& loc, const char *format, ...); 27 D_ATTRIBUTE_FORMAT(2, 3) void warningSupplemental(const Loc& loc, const char *format, ...); 28 D_ATTRIBUTE_FORMAT(2, 3) void deprecation(const Loc& loc, const char *format, ...); 29 D_ATTRIBUTE_FORMAT(2, 3) void deprecationSupplemental(const Loc& loc, const char *format, ...); 30 D_ATTRIBUTE_FORMAT(2, 3) void error(const Loc& loc, const char *format, ...) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| ByteCodeGenError.h | 23 ByteCodeGenError(SourceLocation Loc) : Loc(Loc) {} 29 const SourceLocation &getLoc() const { return Loc; } 35 SourceLocation Loc;
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/ |
| CodeRegion.cpp | 24 bool CodeRegion::isLocInRange(SMLoc Loc) const { 25 if (RangeEnd.isValid() && Loc.getPointer() > RangeEnd.getPointer()) 27 if (RangeStart.isValid() && Loc.getPointer() < RangeStart.getPointer()) 32 void CodeRegions::beginRegion(StringRef Description, SMLoc Loc) { 39 Regions[0] = std::make_unique<CodeRegion>(Description, Loc); 47 SM.PrintMessage(Loc, SourceMgr::DK_Error, 55 SM.PrintMessage(Loc, SourceMgr::DK_Error, 65 Regions.emplace_back(std::make_unique<CodeRegion>(Description, Loc)); 68 void CodeRegions::endRegion(StringRef Description, SMLoc Loc) { 76 Regions[It->second]->setEndLocation(Loc); [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
| PPConditionalDirectiveRecord.h | 31 SourceLocation Loc; 35 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) 36 : Loc(Loc), RegionLoc(RegionLoc) {} 38 SourceLocation getLoc() const { return Loc; } 85 SourceLocation findConditionalDirectiveRegionLoc(SourceLocation Loc) const; 88 void If(SourceLocation Loc, SourceRange ConditionRange, 90 void Elif(SourceLocation Loc, SourceRange ConditionRange, 92 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, 94 void Ifndef(SourceLocation Loc, const Token &MacroNameTok [all...] |
| PPCallbacks.h | 45 /// \param Loc Indicates the new location. 47 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 178 /// \param Loc The location of the directive. 181 virtual void Ident(SourceLocation Loc, StringRef str) { 185 virtual void PragmaDirective(SourceLocation Loc, 190 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, 196 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, 201 /// \param Loc The location of the debug directive. 203 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { 219 /// \param Loc The location of the message directive [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| PrettyDeclStackTrace.h | 33 SourceLocation Loc; 37 PrettyDeclStackTraceEntry(ASTContext &Ctx, Decl *D, SourceLocation Loc, 39 : Context(Ctx), TheDecl(D), Loc(Loc), Message(Msg) {}
|
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/ |
| CodeExpander.h | 35 const ArrayRef<SMLoc> &Loc; 41 const ArrayRef<SMLoc> &Loc, bool ShowExpansions, 43 : Code(Code), Expansions(Expansions), Loc(Loc),
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| StackMapPrinter.h | 45 for (const auto &Loc : R.locations()) { 48 switch (Loc.getKind()) { 50 OS << "Register R#" << Loc.getDwarfRegNum(); 53 OS << "Direct R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset(); 56 OS << "Indirect [R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset() 60 OS << "Constant " << Loc.getSmallConstant(); 63 OS << "ConstantIndex #" << Loc.getConstantIndex() << " (" 64 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")" [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
| ubsan_monitor.h | 24 Location &Loc; 27 UndefinedBehaviorReport(const char *IssueKind, Location &Loc,
|
| ubsan_monitor.cc | 19 Location &Loc, 21 : IssueKind(IssueKind), Loc(Loc), Buffer(Msg.length() + 1) { 62 if (!CurrentUBR->Loc.isSourceLocation()) { 66 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); 72 if (CurrentUBR->Loc.isMemoryLocation()) 73 *OutMemoryAddr = (char *)CurrentUBR->Loc.getMemoryLocation();
|
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| PrettyStackTrace.h | 28 SourceLocation Loc; 32 : SM(sm), Loc(L), Message(Msg) {}
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| DebugLoc.h | 34 TrackingMDNodeRef Loc; 63 /// the conversion to \c DILocation, this doesn't require that \c Loc is of 66 explicit operator bool() const { return Loc; } 69 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); } 91 /// Walk up the scope chain of given debug loc and find line number info 99 MDNode *getAsMDNode() const { return Loc; } 105 bool operator==(const DebugLoc &DL) const { return Loc == DL.Loc; } 106 bool operator!=(const DebugLoc &DL) const { return Loc != DL.Loc; } [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
| ubsan_monitor.h | 23 Location &Loc; 26 UndefinedBehaviorReport(const char *IssueKind, Location &Loc,
|
| ubsan_handlers.h | 20 SourceLocation Loc; 42 SourceLocation Loc; 53 SourceLocation Loc; 74 SourceLocation Loc; 85 SourceLocation Loc; 94 SourceLocation Loc; 103 SourceLocation Loc; 118 SourceLocation Loc; 128 SourceLocation Loc; 146 SourceLocation Loc; [all...] |
| ubsan_monitor.cpp | 18 Location &Loc, 20 : IssueKind(IssueKind), Loc(Loc) { 62 if (!CurrentUBR->Loc.isSourceLocation()) { 66 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); 72 if (CurrentUBR->Loc.isMemoryLocation()) 73 *OutMemoryAddr = (char *)CurrentUBR->Loc.getMemoryLocation();
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
| ubsan_monitor.h | 23 Location &Loc; 26 UndefinedBehaviorReport(const char *IssueKind, Location &Loc,
|
| ubsan_handlers.h | 20 SourceLocation Loc; 42 SourceLocation Loc; 53 SourceLocation Loc; 74 SourceLocation Loc; 85 SourceLocation Loc; 94 SourceLocation Loc; 103 SourceLocation Loc; 118 SourceLocation Loc; 128 SourceLocation Loc; 146 SourceLocation Loc; [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| SymbolOccurrences.cpp | 30 for (const auto &Loc : llvm::enumerate(Locations)) { 31 MultipleRanges[Loc.index()] = SourceRange( 32 Loc.value(), 33 Loc.value().getLocWithOffset(NamePieces[Loc.index()].size()));
|
| /src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| TemplateDeduction.h | 48 SourceLocation Loc; 65 TemplateDeductionInfo(SourceLocation Loc, unsigned DeducedDepth = 0) 66 : Loc(Loc), DeducedDepth(DeducedDepth) {} 74 : Deduced(Info.Deduced), Loc(Info.Loc), DeducedDepth(Info.DeducedDepth), 80 return Loc; 140 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { 145 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); 150 void addSuppressedDiagnostic(SourceLocation Loc, [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| DiagnosticRenderer.cpp | 48 void insert(SourceLocation loc, StringRef text) override { 49 MergedFixits.push_back(FixItHint::CreateInsertion(loc, text)); 87 void DiagnosticRenderer::emitDiagnostic(FullSourceLoc Loc, 93 assert(Loc.hasManager() || Loc.isInvalid()); 97 if (!Loc.isValid()) 99 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, D); 107 mergeFixits(FixItHints, Loc.getManager(), LangOpts, MergedFixits); 115 FullSourceLoc UnexpandedLoc = Loc; 118 Loc = Loc.getFileLoc() [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| DiagnosticRenderer.h | 76 virtual void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc, 82 virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, 86 virtual void emitCodeContext(FullSourceLoc Loc, 91 virtual void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) = 0; 92 virtual void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, 94 virtual void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc, 104 void emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc, 106 void emitIncludeStackRecursively(FullSourceLoc Loc); 107 void emitImportStack(FullSourceLoc Loc); 108 void emitImportStackRecursively(FullSourceLoc Loc, StringRef ModuleName) [all...] |