/external/clang/lib/Frontend/ |
LogDiagnosticPrinter.cpp | 141 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); 143 if (PLoc.isInvalid()) { 152 DE.Filename = PLoc.getFilename(); 153 DE.Line = PLoc.getLine(); 154 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); 208 /// \param PLoc The presumed location of the diagnostic location. 211 PresumedLoc PLoc, 214 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); 242 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 243 if (PLoc.isInvalid()) 257 emitIncludeStackRecursively(PLoc.getIncludeLoc(), SM); 260 emitIncludeLocation(Loc, PLoc, SM) [all...] |
PrintPreprocessedOutput.cpp | 154 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 155 if (PLoc.isInvalid()) 157 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1); 742 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 743 if (PLoc.isInvalid()) 746 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
SerializedDiagnosticPrinter.cpp | 63 PresumedLoc PLoc, 70 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); 584 PresumedLoc PLoc, [all...] |
/external/clang/tools/libclang/ |
CIndexInclusionStack.cpp | 64 PresumedLoc PLoc = SM.getPresumedLoc(L); 66 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();
|
/external/clang/lib/CodeGen/ |
CGOpenMPRuntime.cpp | 106 PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc); 107 OS2 << ";" << PLoc.getFilename() << ";"; 112 OS2 << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;";
|
CodeGenModule.cpp | [all...] |
CGDebugInfo.cpp | 251 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 253 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) 258 const char *fname = PLoc.getFilename(); 268 llvm::DIFile F = DBuilder.createFile(PLoc.getFilename(), getCurrentDirname()); 285 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 286 return PLoc.isValid()? PLoc.getLine() : 0; 299 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 300 return PLoc.isValid()? PLoc.getColumn() : 0 [all...] |
CGExpr.cpp | [all...] |
/frameworks/compile/slang/ |
slang_rs.cpp | 258 clang::PresumedLoc PLoc = SourceMgr.getPresumedLoc(FSL); 260 const char *Filename = PLoc.getFilename();
|
/external/clang/lib/Lex/ |
Pragma.cpp | 430 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); 431 if (PLoc.isInvalid()) 434 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 444 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine()+1, [all...] |
PPDirectives.cpp | [all...] |
/external/clang/lib/AST/ |
TypePrinter.cpp | 922 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( 924 if (PLoc.isValid()) { 925 OS << " at " << PLoc.getFilename() 926 << ':' << PLoc.getLine() 927 << ':' << PLoc.getColumn(); [all...] |
ASTDumper.cpp | 456 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); 458 if (PLoc.isInvalid()) { 463 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { 464 OS << PLoc.getFilename() << ':' << PLoc.getLine() 465 << ':' << PLoc.getColumn(); 466 LastLocFilename = PLoc.getFilename(); 467 LastLocLine = PLoc.getLine(); 468 } else if (PLoc.getLine() != LastLocLine) { 469 OS << "line" << ':' << PLoc.getLine( [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteModernObjC.cpp | [all...] |