HomeSort by: relevance | last modified time | path
    Searched refs:PLoc (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/lib/Index/
FileIndexRecord.cpp 68 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
69 OS << llvm::sys::path::filename(PLoc.getFilename()) << ':'
70 << PLoc.getLine() << ':' << PLoc.getColumn();
78 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
79 OS << llvm::sys::path::filename(PLoc.getFilename()) << ':'
80 << PLoc.getLine() << ':' << PLoc.getColumn();
  /src/external/apache2/llvm/dist/clang/lib/Basic/
SourceLocation.cpp 69 PresumedLoc PLoc = SM.getPresumedLoc(*this);
71 if (PLoc.isInvalid()) {
76 OS << PLoc.getFilename() << ':' << PLoc.getLine()
77 << ':' << PLoc.getColumn();
110 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
112 if (PLoc.isInvalid()) {
118 strcmp(PLoc.getFilename(), Previous.getFilename()) != 0) {
119 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':
    [all...]
SourceManager.cpp 1251 PresumedLoc PLoc = getPresumedLoc(Loc);
1252 if (isInvalid(PLoc, Invalid)) return 0;
1253 return PLoc.getColumn();
1456 PresumedLoc PLoc = getPresumedLoc(Loc);
1457 if (isInvalid(PLoc, Invalid)) return 0;
1458 return PLoc.getLine();
  /src/external/apache2/llvm/dist/clang/include/clang/Frontend/
TextDiagnostic.h 76 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
81 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
91 void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) override;
93 void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
96 void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
DiagnosticRenderer.h 76 virtual void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
91 virtual void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) = 0;
92 virtual void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
94 virtual void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
104 void emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc,
150 void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) override;
152 void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
155 void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
JsonSupport.h 91 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
93 if (PLoc.isInvalid()) {
100 std::string filename(PLoc.getFilename());
113 Out << "\"line\": " << PLoc.getLine()
114 << ", \"column\": " << PLoc.getColumn()
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexInclusionStack.cpp 50 PresumedLoc PLoc = SM.getPresumedLoc(L);
52 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
CIndexDiagnostic.cpp 110 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
126 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
DiagnosticRenderer.cpp 120 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc);
124 emitIncludeStack(Loc, PLoc, Level);
127 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, D);
163 /// \param PLoc The presumed location of the diagnostic location.
165 void DiagnosticRenderer::emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc,
168 PLoc.isInvalid() ? FullSourceLoc()
169 : FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager());
196 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc);
197 if (PLoc.isInvalid())
212 FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager()))
    [all...]
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();
SerializedDiagnosticPrinter.cpp 68 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
73 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
191 void EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
216 void AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
346 void SDiagsWriter::AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
348 if (PLoc.isInvalid()) {
357 Record.push_back(getEmitFile(PLoc.getFilename()));
358 Record.push_back(PLoc.getLine());
359 Record.push_back(PLoc.getColumn()+TokSize);
642 void SDiagsWriter::EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
    [all...]
PrintPreprocessedOutput.cpp 157 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
158 if (PLoc.isInvalid())
160 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1);
920 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
921 if (PLoc.isInvalid())
924 if (strcmp(PLoc.getFilename(), "<built-in>"))
TextDiagnostic.cpp 674 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level,
681 emitDiagnosticLoc(Loc, PLoc, Level, Ranges);
794 void TextDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
797 if (PLoc.isInvalid()) {
809 unsigned LineNo = PLoc.getLine();
817 emitFilename(PLoc.getFilename(), Loc.getManager());
829 if (unsigned ColNo = PLoc.getColumn()) {
898 void TextDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) {
899 if (DiagOpts->ShowLocation && PLoc.isValid())
900 OS << "In file included from " << PLoc.getFilename() << ':
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
SanitizerMetadata.cpp 93 PresumedLoc PLoc = CGM.getContext().getSourceManager().getPresumedLoc(Loc);
94 if (!PLoc.isValid())
98 llvm::MDString::get(VMContext, PLoc.getFilename()),
100 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())),
102 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())),
CGOpenMPRuntime.cpp 1424 PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc);
1425 OS << ";" << PLoc.getFilename() << ";";
1428 OS << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;";
1443 PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc);
1444 const char *FileName = PLoc.getFilename();
1445 unsigned Line = PLoc.getLine();
1446 unsigned Column = PLoc.getColumn();
1659 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
1660 assert(PLoc.isValid() && "Source location is expected to be always valid.")
    [all...]
CGDebugInfo.cpp 413 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
414 FileName = PLoc.getFilename();
419 FileName = PLoc.getFilename();
421 FID = PLoc.getFileID();
507 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc);
508 return PLoc.isValid() ? PLoc.getColumn() : 0;
CodeGenModule.cpp 2487 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
2488 if (PLoc.isValid())
2489 return EmitAnnotationString(PLoc.getFilename());
2495 PresumedLoc PLoc = SM.getPresumedLoc(L);
2496 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() :
CGExpr.cpp 3069 PresumedLoc PLoc = getContext().getSourceManager().getPresumedLoc(Loc);
3070 if (PLoc.isValid()) {
3071 StringRef FilenameString = PLoc.getFilename();
3102 Line = PLoc.getLine();
3103 Column = PLoc.getColumn();
  /src/external/apache2/llvm/dist/clang/lib/Lex/
PPMacroExpansion.cpp 1506 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
1509 OS << (PLoc.isValid()? PLoc.getLine() : 1);
1515 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
1519 if (II == Ident__BASE_FILE__ && PLoc.isValid()) {
1520 SourceLocation NextLoc = PLoc.getIncludeLoc();
1522 PLoc = SourceMgr.getPresumedLoc(NextLoc);
1523 if (PLoc.isInvalid())
1526 NextLoc = PLoc.getIncludeLoc();
1532 if (PLoc.isValid())
    [all...]
Pragma.cpp 475 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation());
476 if (PLoc.isInvalid())
479 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename());
489 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine() + 1,
PPDirectives.cpp 1278 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation());
1279 if (PLoc.isInvalid())
1284 SourceLocation IncLoc = PLoc.getIncludeLoc();
  /src/external/apache2/llvm/dist/clang/lib/AST/
TextNodeDumper.cpp 584 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc);
586 if (PLoc.isInvalid()) {
591 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) {
592 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':'
593 << PLoc.getColumn();
594 LastLocFilename = PLoc.getFilename();
595 LastLocLine = PLoc.getLine();
596 } else if (PLoc.getLine() != LastLocLine) {
597 OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn()
    [all...]
TypePrinter.cpp 1321 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc(
1323 if (PLoc.isValid()) {
1325 StringRef File = PLoc.getFilename();
1330 OS << ':' << PLoc.getLine() << ':' << PLoc.getColumn();
Expr.cpp 2155 PresumedLoc PLoc = Ctx.getSourceManager().getPresumedLoc(
2168 return MakeStringLiteral(PLoc.getFilename());
2179 IntVal = getIdentKind() == SourceLocExpr::Line ? PLoc.getLine()
2180 : PLoc.getColumn();
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 1627 PresumedLoc PLoc = SM->getPresumedLoc(Loc);
1628 LineString += utostr(PLoc.getLine());
1630 LineString += Lexer::Stringify(PLoc.getFilename());
3062 PresumedLoc PLoc = SM->getPresumedLoc(Location);
3063 LineString += utostr(PLoc.getLine());
3065 LineString += Lexer::Stringify(PLoc.getFilename());

Completed in 160 milliseconds

1 2