/external/clang/lib/Frontend/ |
LogDiagnosticPrinter.cpp | 153 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); 155 if (PLoc.isInvalid()) { 164 DE.Filename = PLoc.getFilename(); 165 DE.Line = PLoc.getLine(); 166 DE.Column = PLoc.getColumn();
|
DiagnosticRenderer.cpp | 159 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 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); 237 if (PLoc.isInvalid()) 251 emitIncludeStackRecursively(PLoc.getIncludeLoc(), SM); 254 emitIncludeLocation(Loc, PLoc, SM) [all...] |
PrintPreprocessedOutput.cpp | 162 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 163 if (PLoc.isInvalid()) 165 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1); 735 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 736 if (PLoc.isInvalid()) 739 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
SerializedDiagnosticPrinter.cpp | 63 PresumedLoc PLoc, 70 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 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, [all...] |
/external/clang/tools/libclang/ |
CIndexInclusionStack.cpp | 60 PresumedLoc PLoc = SM.getPresumedLoc(L); 62 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
|
/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();
|
/frameworks/compile/slang/ |
slang_rs.cpp | 259 clang::PresumedLoc PLoc = SourceMgr.getPresumedLoc(FSL); 261 const char *Filename = PLoc.getFilename();
|
/external/clang/lib/Lex/ |
Pragma.cpp | 428 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); 429 if (PLoc.isInvalid()) 432 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 442 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine()+1, [all...] |
PPDirectives.cpp | [all...] |
/external/clang/lib/AST/ |
TypePrinter.cpp | 897 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( 899 if (PLoc.isValid()) { 900 OS << " at " << PLoc.getFilename() 901 << ':' << PLoc.getLine() 902 << ':' << PLoc.getColumn(); [all...] |
ASTDumper.cpp | 392 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); 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.getLine( [all...] |
/external/clang/lib/CodeGen/ |
CodeGenModule.cpp | [all...] |
CGDebugInfo.cpp | 276 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 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); 311 return PLoc.isValid()? PLoc.getLine() : 0; 324 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 325 return PLoc.isValid()? PLoc.getColumn() : 0 [all...] |
CGExpr.cpp | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteModernObjC.cpp | [all...] |