/external/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 93 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, 95 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, 98 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc, 110 void emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc, 163 void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, 166 void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, 170 void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
|
D | TextDiagnostic.h | 78 void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc, 85 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 98 void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, 101 void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, 105 void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 159 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); in emitDiagnostic() local 163 emitIncludeStack(Loc, PLoc, Level, *SM); in emitDiagnostic() 166 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, SM, D); in emitDiagnostic() 209 PresumedLoc PLoc, in emitIncludeStack() argument 212 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); in emitIncludeStack() 240 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); in emitIncludeStackRecursively() local 241 if (PLoc.isInvalid()) in emitIncludeStackRecursively() 255 emitIncludeStackRecursively(PLoc.getIncludeLoc(), SM); in emitIncludeStackRecursively() 258 emitIncludeLocation(Loc, PLoc, SM); in emitIncludeStackRecursively() 283 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); in emitImportStackRecursively() local [all …]
|
D | LogDiagnosticPrinter.cpp | 145 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); in HandleDiagnostic() local 147 if (PLoc.isInvalid()) { in HandleDiagnostic() 156 DE.Filename = PLoc.getFilename(); in HandleDiagnostic() 157 DE.Line = PLoc.getLine(); in HandleDiagnostic() 158 DE.Column = PLoc.getColumn(); in HandleDiagnostic()
|
D | TextDiagnostic.cpp | 676 PresumedLoc PLoc, in emitDiagnosticMessage() argument 686 emitDiagnosticLoc(Loc, PLoc, Level, Ranges, *SM); in emitDiagnosticMessage() 773 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, in emitDiagnosticLoc() argument 777 if (PLoc.isInvalid()) { in emitDiagnosticLoc() 791 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc() 799 OS << PLoc.getFilename(); in emitDiagnosticLoc() 808 if (unsigned ColNo = PLoc.getColumn()) { in emitDiagnosticLoc() 876 PresumedLoc PLoc, in emitIncludeLocation() argument 878 if (DiagOpts->ShowLocation && PLoc.getFilename()) in emitIncludeLocation() 879 OS << "In file included from " << PLoc.getFilename() << ':' in emitIncludeLocation() [all …]
|
D | SerializedDiagnosticPrinter.cpp | 69 PresumedLoc PLoc, 76 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, in emitDiagnosticLoc() argument 199 PresumedLoc PLoc, 227 PresumedLoc PLoc, RecordDataImpl &Record, 357 PresumedLoc PLoc, in AddLocToRecord() argument 360 if (PLoc.isInvalid()) { in AddLocToRecord() 369 Record.push_back(getEmitFile(PLoc.getFilename())); in AddLocToRecord() 370 Record.push_back(PLoc.getLine()); in AddLocToRecord() 371 Record.push_back(PLoc.getColumn()+TokSize); in AddLocToRecord() 647 PresumedLoc PLoc, in EmitDiagnosticMessage() argument [all …]
|
D | PrintPreprocessedOutput.cpp | 150 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in MoveToLine() local 151 if (PLoc.isInvalid()) in MoveToLine() 153 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1); in MoveToLine() 773 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in DoPrintPreprocessedInput() local 774 if (PLoc.isInvalid()) in DoPrintPreprocessedInput() 777 if (strcmp(PLoc.getFilename(), "<built-in>")) in DoPrintPreprocessedInput()
|
/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 45 PresumedLoc PLoc = SM.getPresumedLoc(*this); in print() local 47 if (PLoc.isInvalid()) { in print() 52 OS << PLoc.getFilename() << ':' << PLoc.getLine() in print() 53 << ':' << PLoc.getColumn(); in print()
|
/external/clang/lib/CodeGen/ |
D | SanitizerMetadata.cpp | 83 PresumedLoc PLoc = CGM.getContext().getSourceManager().getPresumedLoc(Loc); in getLocationMetadata() local 84 if (!PLoc.isValid()) in getLocationMetadata() 88 llvm::MDString::get(VMContext, PLoc.getFilename()), in getLocationMetadata() 90 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata() 92 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata()
|
D | CGDebugInfo.cpp | 280 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in getOrCreateFile() local 282 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) in getOrCreateFile() 288 const char *fname = PLoc.getFilename(); in getOrCreateFile() 297 llvm::DIFile *F = DBuilder.createFile(remapDIPath(PLoc.getFilename()), in getOrCreateFile() 320 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); in getLineNumber() local 321 return PLoc.isValid() ? PLoc.getLine() : 0; in getLineNumber() 333 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); in getColumnNumber() local 334 return PLoc.isValid() ? PLoc.getColumn() : 0; in getColumnNumber()
|
D | CodeGenModule.cpp | 1296 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in EmitAnnotationUnit() local 1297 if (PLoc.isValid()) in EmitAnnotationUnit() 1298 return EmitAnnotationString(PLoc.getFilename()); in EmitAnnotationUnit() 1304 PresumedLoc PLoc = SM.getPresumedLoc(L); in EmitAnnotationLineNo() local 1305 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() : in EmitAnnotationLineNo()
|
D | CGExpr.cpp | 2353 PresumedLoc PLoc = getContext().getSourceManager().getPresumedLoc(Loc); in EmitCheckSourceLocation() local 2354 if (PLoc.isValid()) { in EmitCheckSourceLocation() 2355 auto FilenameGV = CGM.GetAddrOfConstantCString(PLoc.getFilename(), ".src"); in EmitCheckSourceLocation() 2359 Line = PLoc.getLine(); in EmitCheckSourceLocation() 2360 Column = PLoc.getColumn(); in EmitCheckSourceLocation()
|
D | CGOpenMPRuntime.cpp | 443 PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc); in emitUpdateLocation() local 444 OS2 << ";" << PLoc.getFilename() << ";"; in emitUpdateLocation() 449 OS2 << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;"; in emitUpdateLocation()
|
/external/clang/tools/libclang/ |
D | CIndexInclusionStack.cpp | 64 PresumedLoc PLoc = SM.getPresumedLoc(L); in clang_getInclusions() local 66 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation(); in clang_getInclusions()
|
D | CIndexDiagnostic.cpp | 115 void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, in emitDiagnosticMessage() argument 133 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, in emitDiagnosticLoc() argument
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 1495 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro() local 1498 OS << (PLoc.isValid()? PLoc.getLine() : 1); in ExpandBuiltinMacro() 1503 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro() local 1507 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { in ExpandBuiltinMacro() 1508 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro() 1510 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro() 1511 if (PLoc.isInvalid()) in ExpandBuiltinMacro() 1514 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro() 1520 if (PLoc.isValid()) { in ExpandBuiltinMacro() 1521 FN += PLoc.getFilename(); in ExpandBuiltinMacro() [all …]
|
D | Pragma.cpp | 433 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); in HandlePragmaSystemHeader() local 434 if (PLoc.isInvalid()) in HandlePragmaSystemHeader() 437 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); in HandlePragmaSystemHeader() 447 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine()+1, in HandlePragmaSystemHeader()
|
D | PPDirectives.cpp | 1087 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation()); in ReadLineMarkerFlags() local 1088 if (PLoc.isInvalid()) in ReadLineMarkerFlags() 1093 SourceLocation IncLoc = PLoc.getIncludeLoc(); in ReadLineMarkerFlags()
|
/external/clang/lib/AST/ |
D | ASTDumper.cpp | 579 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); in dumpLocation() local 581 if (PLoc.isInvalid()) { in dumpLocation() 586 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { in dumpLocation() 587 OS << PLoc.getFilename() << ':' << PLoc.getLine() in dumpLocation() 588 << ':' << PLoc.getColumn(); in dumpLocation() 589 LastLocFilename = PLoc.getFilename(); in dumpLocation() 590 LastLocLine = PLoc.getLine(); in dumpLocation() 591 } else if (PLoc.getLine() != LastLocLine) { in dumpLocation() 592 OS << "line" << ':' << PLoc.getLine() in dumpLocation() 593 << ':' << PLoc.getColumn(); in dumpLocation() [all …]
|
D | TypePrinter.cpp | 944 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( in printTag() local 946 if (PLoc.isValid()) { in printTag() 947 OS << " at " << PLoc.getFilename() in printTag() 948 << ':' << PLoc.getLine() in printTag() 949 << ':' << PLoc.getColumn(); in printTag()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 1646 PresumedLoc PLoc = SM->getPresumedLoc(Loc); in ConvertSourceLocationToLineDirective() local 1647 LineString += utostr(PLoc.getLine()); in ConvertSourceLocationToLineDirective() 1649 LineString += Lexer::Stringify(PLoc.getFilename()); in ConvertSourceLocationToLineDirective() 3092 PresumedLoc PLoc = SM->getPresumedLoc(Location); in RewriteLineDirective() local 3093 LineString += utostr(PLoc.getLine()); in RewriteLineDirective() 3095 LineString += Lexer::Stringify(PLoc.getFilename()); in RewriteLineDirective()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7203 SourceLocation &PLoc, SourceLocation PrevLoc,
|