/external/clang/lib/CodeGen/ |
SanitizerMetadata.cpp | 80 PresumedLoc PLoc = CGM.getContext().getSourceManager().getPresumedLoc(Loc); 81 if (!PLoc.isValid()) 85 llvm::MDString::get(VMContext, PLoc.getFilename()), 87 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), 89 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())),
|
CGOpenMPRuntime.cpp | 373 PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc); 374 OS2 << ";" << PLoc.getFilename() << ";"; 379 OS2 << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;"; [all...] |
CodeGenModule.cpp | [all...] |
CGDebugInfo.cpp | 256 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 258 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) 263 const char *fname = PLoc.getFilename(); 272 llvm::DIFile F = DBuilder.createFile(PLoc.getFilename(), getCurrentDirname()); 289 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 290 return PLoc.isValid() ? PLoc.getLine() : 0; 303 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 304 return PLoc.isValid() ? PLoc.getColumn() : 0 [all...] |
CGExpr.cpp | [all...] |
/external/clang/lib/Frontend/ |
LogDiagnosticPrinter.cpp | 145 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); 147 if (PLoc.isInvalid()) { 156 DE.Filename = PLoc.getFilename(); 157 DE.Line = PLoc.getLine(); 158 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 | 151 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 152 if (PLoc.isInvalid()) 154 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1); 741 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 742 if (PLoc.isInvalid()) 745 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
SerializedDiagnosticPrinter.cpp | 68 PresumedLoc PLoc, 75 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 198 PresumedLoc PLoc, 226 PresumedLoc PLoc, RecordDataImpl &Record, 356 PresumedLoc PLoc, 359 if (PLoc.isInvalid()) { 368 Record.push_back(getEmitFile(PLoc.getFilename())); 369 Record.push_back(PLoc.getLine()); 370 Record.push_back(PLoc.getColumn()+TokSize); 658 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();
|
/frameworks/compile/slang/ |
slang.cpp | 578 clang::PresumedLoc PLoc = SourceMgr.getPresumedLoc(FSL); 580 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 | 939 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( 941 if (PLoc.isValid()) { 942 OS << " at " << PLoc.getFilename() 943 << ':' << PLoc.getLine() 944 << ':' << PLoc.getColumn(); [all...] |
ASTDumper.cpp | 573 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); 575 if (PLoc.isInvalid()) { 580 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { 581 OS << PLoc.getFilename() << ':' << PLoc.getLine() 582 << ':' << PLoc.getColumn(); 583 LastLocFilename = PLoc.getFilename(); 584 LastLocLine = PLoc.getLine(); 585 } else if (PLoc.getLine() != LastLocLine) { 586 OS << "line" << ':' << PLoc.getLine( [all...] |
/external/clang/lib/Frontend/Rewrite/ |
RewriteModernObjC.cpp | [all...] |