/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 | 114 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, argument 132 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, argument
|
/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/Frontend/ |
H A D | LogDiagnosticPrinter.cpp | 152 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); local 154 if (PLoc.isInvalid()) { 163 DE.Filename = PLoc.getFilename(); 164 DE.Line = PLoc.getLine(); 165 DE.Column = PLoc.getColumn();
|
H A D | DiagnosticRenderer.cpp | 128 PresumedLoc PLoc; local 130 PLoc = SM->getPresumedLocForDisplay(Loc); 134 emitIncludeStack(PLoc.getIncludeLoc(), Level, *SM); 138 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, SM, D); 210 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 211 if (PLoc.isInvalid()) 215 emitIncludeStackRecursively(PLoc.getIncludeLoc(), SM); 218 emitIncludeLocation(Loc, PLoc, SM); 319 PresumedLoc PLoc, 324 Message << "in file included from " << PLoc 318 emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, const SourceManager &SM) argument [all...] |
H A D | PrintPreprocessedOutput.cpp | 141 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 142 if (PLoc.isInvalid()) 144 return MoveToLine(PLoc.getLine()); 629 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); local 630 if (PLoc.isInvalid()) 633 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
H A D | SerializedDiagnosticPrinter.cpp | 62 PresumedLoc PLoc, 69 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, argument 133 PresumedLoc PLoc, 159 PresumedLoc PLoc, RecordDataImpl &Record, 265 PresumedLoc PLoc, 268 if (PLoc.isInvalid()) { 277 Record.push_back(getEmitFile(PLoc.getFilename())); 278 Record.push_back(PLoc.getLine()); 279 Record.push_back(PLoc.getColumn()+TokSize); 531 PresumedLoc PLoc, 263 AddLocToRecord(SourceLocation Loc, const SourceManager *SM, PresumedLoc PLoc, RecordDataImpl &Record, unsigned TokSize) argument 530 EmitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, const SourceManager *SM, DiagOrStoredDiag D) argument 558 emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<clang::CharSourceRange> Ranges, const SourceManager *SM, DiagOrStoredDiag D) argument 625 PresumedLoc PLoc = SM ? SM->getPresumedLoc(Loc) : PresumedLoc(); local [all...] |
/external/clang/lib/AST/ |
H A D | StmtDumper.cpp | 189 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); local 191 if (PLoc.isInvalid()) { 196 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { 197 OS << PLoc.getFilename() << ':' << PLoc.getLine() 198 << ':' << PLoc.getColumn(); 199 LastLocFilename = PLoc.getFilename(); 200 LastLocLine = PLoc.getLine(); 201 } else if (PLoc.getLine() != LastLocLine) { 202 OS << "line" << ':' << PLoc [all...] |
H A D | TypePrinter.cpp | 878 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( local 880 if (PLoc.isValid()) { 881 OS << " at " << PLoc.getFilename() 882 << ':' << PLoc.getLine() 883 << ':' << PLoc.getColumn();
|
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 948 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); local 951 OS << (PLoc.isValid()? PLoc.getLine() : 1); 956 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); local 960 if (II == Ident__BASE_FILE__ && PLoc.isValid()) { 961 SourceLocation NextLoc = PLoc.getIncludeLoc(); 963 PLoc = SourceMgr.getPresumedLoc(NextLoc); 964 if (PLoc.isInvalid()) 967 NextLoc = PLoc.getIncludeLoc(); 973 if (PLoc 1002 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); local [all...] |
H A D | PPDirectives.cpp | 910 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation()); local 911 if (PLoc.isInvalid()) 916 SourceLocation IncLoc = PLoc.getIncludeLoc();
|
H A D | Pragma.cpp | 399 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); local 400 if (PLoc.isInvalid()) 403 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 413 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine(), FilenameID,
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 219 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 221 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) 226 const char *fname = PLoc.getFilename(); 236 llvm::DIFile F = DBuilder.createFile(PLoc.getFilename(), getCurrentDirname()); 253 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); local 254 return PLoc.isValid()? PLoc.getLine() : 0; 263 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); local 264 return PLoc [all...] |
H A D | CodeGenModule.cpp | 775 PresumedLoc PLoc = SM.getPresumedLoc(Loc); local 776 if (PLoc.isValid()) 777 return EmitAnnotationString(PLoc.getFilename()); 783 PresumedLoc PLoc = SM.getPresumedLoc(L); local 784 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() :
|