HomeSort by relevance Sort by last modified time
    Searched defs:Loc (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /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, const char *Msg)
39 : 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, const PartialDiagnostic &PD) {
80 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;
ScopeInfo.h 37 SourceLocation Loc;
40 PossiblyUnreachableDiag(const PartialDiagnostic &PD, SourceLocation Loc,
42 : PD(PD), Loc(Loc), stmt(stmt) {}
DelayedDiagnostic.h 120 SourceLocation Loc;
124 static DelayedDiagnostic makeDeprecation(SourceLocation Loc,
128 static DelayedDiagnostic makeAccess(SourceLocation Loc,
133 DD.Loc = Loc;
138 static DelayedDiagnostic makeForbiddenType(SourceLocation loc,
145 DD.Loc = loc;
173 /// Diag(diag.Loc, diag.getForbiddenTypeDiagnostic())
  /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 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 44 SourceLocation Loc = OrigLoc;
48 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
  /external/llvm/include/llvm/ExecutionEngine/
JITEventListener.h 36 DebugLoc Loc;
  /external/clang/lib/StaticAnalyzer/Checkers/
AnalyzerStatsChecker.cpp 77 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation());
78 if (Loc.isValid()) {
79 output << Loc.getFilename() << " : ";
86 output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
  /external/llvm/lib/TableGen/
TGParser.h 38 SMLoc Loc;
41 : Name(N), Bits(B), Value(V), Loc(L) {
86 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
87 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName,
89 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName,
91 return SetValue(TheRec, Loc, StringInit::get(ValName), BitList, V);
  /external/llvm/lib/Transforms/IPO/
FunctionAttrs.cpp 143 AliasAnalysis::Location Loc(Arg,
146 if (!AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) {
168 AliasAnalysis::Location Loc = AA->getLocation(LI);
169 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
175 AliasAnalysis::Location Loc = AA->getLocation(SI);
176 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
181 AliasAnalysis::Location Loc = AA->getLocation(VI);
182 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
  /external/llvm/lib/Transforms/Scalar/
Sink.cpp 163 AliasAnalysis::Location Loc = AA->getLocation(L);
166 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/include/clang/Index/
ASTLocation.h 44 SourceLocation Loc;
47 NamedRef(NamedDecl *nd, SourceLocation loc) : ND(nd), Loc(loc) { }
78 ASTLocation(const Decl *parentDecl, NamedDecl *ndRef, SourceLocation loc)
82 NDRef.RawLoc = loc.getRawEncoding();
  /external/clang/lib/Analysis/
ReachableCode.cpp 249 SourceLocation Loc = GetUnreachableLoc(S, R1, R2);
250 CB.HandleUnreachable(Loc, R1, R2);
  /external/clang/lib/Sema/
SemaAttr.cpp 304 SourceLocation Loc = PP.getPragmaARCCFCodeAuditedLoc();
305 if (!Loc.isValid()) return;
312 D->addAttr(::new (Context) CFAuditedTransferAttr(Loc, Context));
331 SourceLocation loc = Stack->back().second; local
333 D->addAttr(::new (Context) VisibilityAttr(loc, Context, type));
342 static void PushPragmaVisibility(Sema &S, unsigned type, SourceLocation loc) {
348 Stack->push_back(std::make_pair(type, loc));
  /external/clang/tools/libclang/
IndexDecl.cpp 87 SourceLocation Loc = *LI;
90 if (PD->getLocation() == Loc) {
93 IndexCtx.handleReference(PD, Loc, 0, PD->getDeclContext());
  /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);
  /external/llvm/lib/Object/
Archive.cpp 160 const char *Loc = Data->getBufferStart() + Magic.size();
162 ToHeader(Loc)->getSize();
163 return Child(this, StringRef(Loc, Size));
  /external/clang/include/clang/Lex/
Token.h 38 SourceLocation Loc;
116 SourceLocation getLocation() const { return Loc; }
122 void setLocation(SourceLocation L) { Loc = L; }
162 Loc = SourceLocation();
  /external/clang/lib/CodeGen/
CodeGenAction.cpp 156 SourceLocation Loc = SourceLocation::getFromRawEncoding(LocCookie);
157 ((BackendConsumer*)Context)->InlineAsmDiagHandler2(SM, Loc);
207 FullSourceLoc Loc;
209 Loc = ConvertBackendLocation(D, Context->getSourceManager());
219 DiagnosticBuilder B = Diags.Report(Loc, diag::note_fe_inline_asm_here);
225 B << SourceRange(Loc.getLocWithOffset(Range.first - Column),
226 Loc.getLocWithOffset(Range.second - Column));
233 // If Loc is invalid, we still need to report the error, it just gets no
235 Diags.Report(Loc, diag::err_fe_inline_asm).AddString(Message);
331 SourceLocation Loc = SM.translateFileLineCol
    [all...]
  /external/clang/lib/Lex/
PPExpressions.cpp 337 SourceLocation Loc = PeekTok.getLocation();
340 Result.setBegin(Loc);
350 PP.Diag(Loc, diag::warn_pp_expr_overflow) << Result.getRange();
Preprocessor.cpp 206 void Preprocessor::DumpLocation(SourceLocation Loc) const {
207 Loc.dump(SourceMgr);
361 SourceLocation Loc = ScratchBuf->getToken(Buf, Len, DestPtr);
364 Loc = SourceMgr.createExpansionLoc(Loc, ExpansionLocStart,
366 Tok.setLocation(Loc);

Completed in 604 milliseconds

1 2 3 4 5 6