/external/clang/tools/libclang/ |
CIndexInclusionStack.cpp | 60 PresumedLoc PLoc = SM.getPresumedLoc(L); 62 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
|
CIndexDiagnostic.cpp | 114 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 132 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
|
/external/clang/lib/Basic/ |
SourceLocation.cpp | 45 PresumedLoc PLoc = SM.getPresumedLoc(*this); 47 if (PLoc.isInvalid()) { 52 OS << PLoc.getFilename() << ':' << PLoc.getLine() 53 << ':' << PLoc.getColumn();
|
/external/clang/include/clang/Frontend/ |
TextDiagnostic.h | 81 virtual void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc, 88 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 103 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
|
DiagnosticRenderer.h | 73 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 80 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 93 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, 150 PresumedLoc PLoc,
|
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 128 PresumedLoc PLoc; 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.getFilename() << ': [all...] |
SerializedDiagnosticPrinter.cpp | 62 PresumedLoc PLoc, 69 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 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, [all...] |
TextDiagnostic.cpp | 661 PresumedLoc PLoc, 671 emitDiagnosticLoc(Loc, PLoc, Level, Ranges, *SM); 750 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 754 if (PLoc.isInvalid()) { 771 unsigned LineNo = PLoc.getLine(); 779 OS << PLoc.getFilename(); 788 if (unsigned ColNo = PLoc.getColumn()) { 859 PresumedLoc PLoc, 862 OS << "In file included from " << PLoc.getFilename() << ':' 863 << PLoc.getLine() << ":\n" [all...] |
PrintPreprocessedOutput.cpp | 141 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 142 if (PLoc.isInvalid()) 144 return MoveToLine(PLoc.getLine()); 629 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 630 if (PLoc.isInvalid()) 633 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
/external/clang/lib/AST/ |
StmtDumper.cpp | 189 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); 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.getLine( [all...] |
TypePrinter.cpp | 878 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( 880 if (PLoc.isValid()) { 881 OS << " at " << PLoc.getFilename() 882 << ':' << PLoc.getLine() 883 << ':' << PLoc.getColumn(); [all...] |
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | [all...] |
Pragma.cpp | 399 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); 400 if (PLoc.isInvalid()) 403 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 413 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine(), FilenameID, [all...] |
PPDirectives.cpp | [all...] |
/frameworks/compile/slang/ |
slang_rs.cpp | 263 clang::PresumedLoc PLoc = SourceMgr.getPresumedLoc(FSL); 265 const char *Filename = PLoc.getFilename();
|
/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | 219 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 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); 254 return PLoc.isValid()? PLoc.getLine() : 0; 263 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 264 return PLoc.isValid()? PLoc.getColumn() : 0 [all...] |
CodeGenModule.cpp | 775 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 776 if (PLoc.isValid()) 777 return EmitAnnotationString(PLoc.getFilename()); 783 PresumedLoc PLoc = SM.getPresumedLoc(L); 784 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() : [all...] |
/external/clang/include/clang/Sema/ |
Sema.h | [all...] |