Searched refs:PLoc (Results 1 - 13 of 13) sorted by relevance
/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/tools/libclang/ |
H A D | CIndexInclusionStack.cpp | 60 PresumedLoc PLoc = SM.getPresumedLoc(L); local 62 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
|
/external/clang/lib/AST/ |
H A D | StmtDumper.cpp | 183 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); local 185 if (PLoc.isInvalid()) { 190 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { 191 OS << PLoc.getFilename() << ':' << PLoc.getLine() 192 << ':' << PLoc.getColumn(); 193 LastLocFilename = PLoc.getFilename(); 194 LastLocLine = PLoc.getLine(); 195 } else if (PLoc.getLine() != LastLocLine) { 196 OS << "line" << ':' << PLoc [all...] |
H A D | TypePrinter.cpp | 672 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( local 674 if (PLoc.isValid()) { 675 OS << " at " << PLoc.getFilename() 676 << ':' << PLoc.getLine() 677 << ':' << PLoc.getColumn();
|
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 882 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); local 885 OS << (PLoc.isValid()? PLoc.getLine() : 1); 890 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); local 894 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { 895 SourceLocation NextLoc = PLoc.getIncludeLoc(); 897 PLoc = SourceMgr.getPresumedLoc(NextLoc); 898 if (PLoc.isInvalid()) 901 NextLoc = PLoc.getIncludeLoc(); 907 if (PLoc 936 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); local [all...] |
H A D | Pragma.cpp | 325 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); local 326 if (PLoc.isInvalid()) 329 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 339 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine(), FilenameID,
|
H A D | PPDirectives.cpp | 849 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation()); local 850 if (PLoc.isInvalid()) 855 SourceLocation IncLoc = PLoc.getIncludeLoc();
|
/external/clang/lib/Frontend/ |
H A D | TextDiagnostic.cpp | 433 PresumedLoc PLoc = getDiagnosticPresumedLoc(SM, Loc); 437 emitIncludeStack(PLoc.getIncludeLoc(), Level); 442 emitDiagnosticLoc(Loc, PLoc, Level, Ranges); 558 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 559 if (PLoc.isInvalid()) 563 emitIncludeStackRecursively(PLoc.getIncludeLoc()); 566 OS << "In file included from " << PLoc.getFilename() 567 << ':' << PLoc.getLine() << ":\n"; 578 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 581 if (PLoc [all...] |
H A D | PrintPreprocessedOutput.cpp | 136 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 137 if (PLoc.isInvalid()) 139 return MoveToLine(PLoc.getLine()); 619 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); local 620 if (PLoc.isInvalid()) 623 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
/external/clang/include/clang/Frontend/ |
H A D | TextDiagnostic.h | 127 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 205 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 207 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) 212 const char *fname = PLoc.getFilename(); 222 llvm::DIFile F = DBuilder.createFile(PLoc.getFilename(), getCurrentDirname()); 239 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); local 240 return PLoc.isValid()? PLoc.getLine() : 0; 248 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); local 249 return PLoc [all...] |
H A D | CodeGenModule.cpp | 702 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 703 if (PLoc.isValid()) 704 return EmitAnnotationString(PLoc.getFilename()); 710 PresumedLoc PLoc = SM.getPresumedLoc(L); local 711 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() :
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 5105 SourceLocation &PLoc, SourceLocation PrevLoc,
|
Completed in 831 milliseconds