/external/clang/include/clang/Frontend/ |
H A D | TextDiagnostic.h | 79 virtual void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc, 86 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 101 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, 104 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, 108 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
|
H A D | DiagnosticRenderer.h | 75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 95 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, 97 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, 100 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc, 111 void emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc, 165 PresumedLoc PLoc, 168 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, 172 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
|
/external/clang/tools/libclang/ |
H A D | CIndexInclusionStack.cpp | 60 PresumedLoc PLoc = SM.getPresumedLoc(L); local 62 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
|
H A D | CIndexDiagnostic.cpp | 113 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, argument 131 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, argument
|
/external/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 159 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); local 163 emitIncludeStack(Loc, PLoc, Level, *SM); 166 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, SM, D); 202 /// \param PLoc The presumed location of the diagnostic location. 205 PresumedLoc PLoc, 208 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); 236 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); local 237 if (PLoc.isInvalid()) 251 emitIncludeStackRecursively(PLoc.getIncludeLoc(), SM); 254 emitIncludeLocation(Loc, PLoc, S 204 emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, const SourceManager &SM) argument 279 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); local 471 emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, const SourceManager &SM) argument 482 emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument 495 emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument [all...] |
H A D | SerializedDiagnosticPrinter.cpp | 63 PresumedLoc PLoc, 70 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, argument 135 PresumedLoc PLoc, 161 PresumedLoc PLoc, RecordDataImpl &Record, 284 PresumedLoc PLoc, 287 if (PLoc.isInvalid()) { 296 Record.push_back(getEmitFile(PLoc.getFilename())); 297 Record.push_back(PLoc.getLine()); 298 Record.push_back(PLoc.getColumn()+TokSize); 570 PresumedLoc PLoc, 282 AddLocToRecord(SourceLocation Loc, const SourceManager *SM, PresumedLoc PLoc, RecordDataImpl &Record, unsigned TokSize) argument 569 EmitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, const SourceManager *SM, DiagOrStoredDiag D) argument 601 emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<clang::CharSourceRange> Ranges, const SourceManager *SM, DiagOrStoredDiag D) argument 672 PresumedLoc PLoc = SM ? SM->getPresumedLoc(Loc) : PresumedLoc(); local [all...] |
H A D | TextDiagnostic.cpp | 681 PresumedLoc PLoc, 691 emitDiagnosticLoc(Loc, PLoc, Level, Ranges, *SM); 770 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 774 if (PLoc.isInvalid()) { 788 unsigned LineNo = PLoc.getLine(); 796 OS << PLoc.getFilename(); 805 if (unsigned ColNo = PLoc.getColumn()) { 876 PresumedLoc PLoc, 879 OS << "In file included from " << PLoc.getFilename() << ':' 880 << PLoc [all...] |
H A D | PrintPreprocessedOutput.cpp | 162 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 163 if (PLoc.isInvalid()) 165 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1); 735 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); local 736 if (PLoc.isInvalid()) 739 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
/external/clang/lib/Basic/ |
H A D | SourceLocation.cpp | 45 PresumedLoc PLoc = SM.getPresumedLoc(*this); local 47 if (PLoc.isInvalid()) { 52 OS << PLoc.getFilename() << ':' << PLoc.getLine() 53 << ':' << PLoc.getColumn();
|
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 1292 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); 1295 OS << (PLoc.isValid()? PLoc.getLine() : 1); 1300 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 1304 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { 1305 SourceLocation NextLoc = PLoc.getIncludeLoc(); 1307 PLoc = SourceMgr.getPresumedLoc(NextLoc); 1308 if (PLoc.isInvalid()) 1311 NextLoc = PLoc.getIncludeLoc(); 1317 if (PLoc [all...] |
H A D | Pragma.cpp | 428 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); local 429 if (PLoc.isInvalid()) 432 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 442 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine()+1,
|
H A D | PPDirectives.cpp | 973 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation()); local 974 if (PLoc.isInvalid()) 979 SourceLocation IncLoc = PLoc.getIncludeLoc();
|
/external/clang/lib/AST/ |
H A D | ASTDumper.cpp | 392 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); local 394 if (PLoc.isInvalid()) { 399 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { 400 OS << PLoc.getFilename() << ':' << PLoc.getLine() 401 << ':' << PLoc.getColumn(); 402 LastLocFilename = PLoc.getFilename(); 403 LastLocLine = PLoc.getLine(); 404 } else if (PLoc.getLine() != LastLocLine) { 405 OS << "line" << ':' << PLoc [all...] |
H A D | TypePrinter.cpp | 897 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( local 899 if (PLoc.isValid()) { 900 OS << " at " << PLoc.getFilename() 901 << ':' << PLoc.getLine() 902 << ':' << PLoc.getColumn();
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 276 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 278 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) 283 const char *fname = PLoc.getFilename(); 293 llvm::DIFile F = DBuilder.createFile(PLoc.getFilename(), getCurrentDirname()); 310 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); local 311 return PLoc.isValid()? PLoc.getLine() : 0; 324 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); local 325 return PLoc [all...] |
H A D | CodeGenModule.cpp | 997 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 998 if (PLoc.isValid()) 999 return EmitAnnotationString(PLoc.getFilename()); 1005 PresumedLoc PLoc = SM.getPresumedLoc(L); local 1006 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() :
|
H A D | CGExpr.cpp | 2079 PresumedLoc PLoc = getContext().getSourceManager().getPresumedLoc(Loc); local 2083 PLoc.isValid() ? cast<llvm::Constant>( 2084 Builder.CreateGlobalStringPtr(PLoc.getFilename())) 2086 Builder.getInt32(PLoc.getLine()), 2087 Builder.getInt32(PLoc.getColumn())
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteModernObjC.cpp | 1662 PresumedLoc PLoc = SM->getPresumedLoc(Loc); local 1663 LineString += utostr(PLoc.getLine()); 1665 LineString += Lexer::Stringify(PLoc.getFilename()); 3153 PresumedLoc PLoc = SM->getPresumedLoc(Location); local 3154 LineString += utostr(PLoc.getLine()); 3156 LineString += Lexer::Stringify(PLoc.getFilename());
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 6467 SourceLocation &PLoc, SourceLocation PrevLoc,
|