/external/clang/include/clang/Basic/ |
PrettyStackTrace.h | 28 SourceLocation Loc; 32 : SM(sm), Loc(L), Message(Msg) {}
|
/external/clang/include/clang/Sema/ |
PrettyDeclStackTrace.h | 34 SourceLocation Loc; 38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc, 40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
|
TemplateDeduction.h | 40 SourceLocation Loc; 51 TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc) 52 : Context(Context), Deduced(0), Loc(Loc) { } 61 return Loc; 79 void addSuppressedDiagnostic(SourceLocation Loc, 81 SuppressedDiagnostics.push_back(std::make_pair(Loc, PD));
|
ParsedTemplate.h | 43 /// \param Loc the location of the type. 44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc) 45 : Kind(Kind), Arg(Arg), Loc(Loc) { } 61 Loc(TemplateLoc), SS(SS), EllipsisLoc() { } 88 SourceLocation getLocation() const { return Loc; } 122 SourceLocation Loc;
|
/external/llvm/include/llvm/TableGen/ |
Error.h | 23 SMLoc Loc; 26 TGError(SMLoc loc, const std::string &message) : Loc(loc), Message(message) {} 28 SMLoc getLoc() const { return Loc; } 33 void PrintWarning(const char *Loc, const Twine &Msg); 38 void PrintError(const char *Loc, const Twine &Msg);
|
/external/clang/lib/AST/ |
SelectorLocationsKind.cpp | 57 SourceLocation Loc = Arg->getLocStart(); 58 if (Loc.isInvalid()) 59 return Loc; 61 return Loc.getLocWithOffset(-1);
|
/external/clang/lib/ARCMigrate/ |
TransARCAssign.cpp | 47 SourceLocation Loc = OrigLoc; 51 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
|
TransRetainReleaseDealloc.cpp | 171 SourceLocation Loc = Msg->getExprLoc(); 172 if (!Loc.isMacroID()) 175 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, 232 void clearDiagnostics(SourceLocation loc) const { 236 loc);
|
TransGCAttrs.cpp | 87 SourceLocation Loc = TL.getAttrNameLoc(); 88 unsigned RawLoc = Loc.getRawEncoding(); 94 if (Loc.isMacroID()) 95 Loc = SM.getImmediateExpansionRange(Loc).first; 116 Attr.Loc = Loc; 175 bool isInMainFile(SourceLocation Loc) { 176 if (Loc.isInvalid()) 180 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()) [all...] |
/external/llvm/include/llvm/ExecutionEngine/ |
JITEventListener.h | 39 DebugLoc Loc;
|
/external/clang/tools/libclang/ |
IndexTypeSourceInfo.cpp | 128 SourceLocation Loc = NNS.getSourceRange().getBegin(); 137 Loc, Parent, DC); 141 Loc, Parent, DC);
|
CIndexHigh.cpp | 129 /// \brief For a macro \arg Loc, returns the file spelling location and sets 133 SourceLocation Loc, 135 assert(Loc.isMacroID()); 136 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc); 140 isMacroArg = SM.isMacroArgExpansion(Loc); 180 Loc = cxloc::translateSourceLocation(clang_getCursorLocation(cursor)); 183 Loc = SelIdLoc; 188 if (Loc.isMacroID()) { 190 Loc = getFileSpellingLoc(SM, Loc, isMacroArg) [all...] |
CXSourceLocation.cpp | 209 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); 211 if (!location.ptr_data[0] || Loc.isInvalid()) { 218 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); 252 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); 254 if (!location.ptr_data[0] || Loc.isInvalid()) 259 PresumedLoc PreLoc = SM.getPresumedLoc(Loc); 291 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); 293 if (!location.ptr_data[0] || Loc.isInvalid()) 298 SourceLocation SpellLoc = Loc;
|
/external/clang/lib/Parse/ |
ParseTentative.cpp | 488 SourceLocation Loc; 489 if (!TryParseCXX11AttributeIdentifier(Loc)) { 495 if (!TryParseCXX11AttributeIdentifier(Loc)) { [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
AnalyzerStatsChecker.cpp | 93 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); 94 if (!Loc.isValid()) 102 output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
|
CStringSyntaxChecker.cpp | 144 PathDiagnosticLocation Loc = 161 os.str(), Loc, &R, 1);
|
/external/llvm/lib/Transforms/Scalar/ |
Sink.cpp | 164 AliasAnalysis::Location Loc = AA->getLocation(L); 167 if (AA->getModRefInfo(*I, Loc) & AliasAnalysis::Mod)
|
/external/clang/include/clang/AST/ |
DependentDiagnostic.h | 41 SourceLocation Loc, 49 DD->AccessData.Loc = Loc.getRawEncoding(); 74 return SourceLocation::getFromRawEncoding(AccessData.Loc); 113 unsigned Loc;
|
/external/clang/lib/Analysis/ |
ReachableCode.cpp | 249 SourceLocation Loc = GetUnreachableLoc(S, R1, R2); 250 CB.HandleUnreachable(Loc, R1, R2);
|
/external/clang/lib/Edit/ |
Commit.cpp | 20 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); 21 Loc = Loc.getLocWithOffset(Offset.getOffset()); 22 assert(Loc.isFileID()); 23 return Loc; 27 SourceLocation Loc = getFileLocation(SM); 28 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); 32 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); 33 Loc = Loc.getLocWithOffset(InsertFromRangeOffs.getOffset()) [all...] |
EditedSource.cpp | 243 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); 244 Loc = Loc.getLocWithOffset(offs.getOffset()); 245 assert(Loc.isFileID()); 246 CharSourceRange range = CharSourceRange::getCharRange(Loc, 247 Loc.getLocWithOffset(len)); 258 receiver.insert(Loc, text);
|
/external/clang/lib/Sema/ |
SemaAttr.cpp | 301 SourceLocation Loc = PP.getPragmaARCCFCodeAuditedLoc(); 302 if (!Loc.isValid()) return; 309 D->addAttr(::new (Context) CFAuditedTransferAttr(Loc, Context)); 328 SourceLocation loc = Stack->back().second; local 330 D->addAttr(::new (Context) VisibilityAttr(loc, Context, type)); 339 static void PushPragmaVisibility(Sema &S, unsigned type, SourceLocation loc) { 345 Stack->push_back(std::make_pair(type, loc)); 387 SourceLocation Loc) { 392 PushPragmaVisibility(*this, NoVisibility, Loc);
|
/external/clang/unittests/Lex/ |
LexerTest.cpp | 110 SourceLocation Loc; 111 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); 112 EXPECT_EQ(Loc, macroRange.getBegin()); 115 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc)); 116 EXPECT_EQ(Loc, macroRange.getEnd());
|
/external/llvm/include/llvm/MC/ |
MCFixup.h | 75 SMLoc Loc; 78 MCFixupKind Kind, SMLoc Loc = SMLoc()) { 84 FI.Loc = Loc; 107 SMLoc getLoc() const { return Loc; }
|
/external/llvm/lib/Analysis/ |
MemDepPrinter.cpp | 130 AliasAnalysis::Location Loc = AA.getLocation(LI); 131 MDA.getNonLocalPointerDependency(Loc, true, LI->getParent(), NLDI); 139 AliasAnalysis::Location Loc = AA.getLocation(SI); 140 MDA.getNonLocalPointerDependency(Loc, false, SI->getParent(), NLDI); 142 AliasAnalysis::Location Loc = AA.getLocation(VI); 143 MDA.getNonLocalPointerDependency(Loc, false, VI->getParent(), NLDI);
|