Searched defs:Loc (Results 1 - 25 of 250) sorted by relevance

12345678910

/external/clang/include/clang/AST/
H A DCommentBriefParser.h39 SourceLocation Loc = Tok.getLocation(); local
41 return Loc;
H A DCommentParser.h48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
49 return Diags.Report(Loc, DiagID);
H A DCommentSema.h61 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
62 return Diags.Report(Loc, DiagID);
148 VerbatimBlockComment *actOnVerbatimBlockStart(SourceLocation Loc,
151 VerbatimBlockLineComment *actOnVerbatimBlockLine(SourceLocation Loc,
/external/clang/include/clang/Basic/
H A DPrettyStackTrace.h29 SourceLocation Loc; member in class:clang::PrettyStackTraceLoc
33 : SM(sm), Loc(L), Message(Msg) {}
/external/clang/include/clang/Frontend/
H A DTextDiagnostic.h81 virtual void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc,
88 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
93 virtual void emitCodeContext(SourceLocation Loc, argument
98 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM);
103 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
107 void emitSnippetAndCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
/external/clang/include/clang/Sema/
H A DPrettyDeclStackTrace.h34 SourceLocation Loc; member in class:clang::PrettyDeclStackTraceEntry
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc, argument
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
H A DWeak.h32 WeakInfo(IdentifierInfo *Alias, SourceLocation Loc) argument
33 : alias(Alias), loc(Loc), used(false) {}
H A DTemplateDeduction.h40 SourceLocation Loc; member in class:clang::sema::TemplateDeductionInfo
54 TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc) argument
55 : Context(Context), Deduced(0), Loc(Loc), HasSFINAEDiagnostic(false) { }
64 return Loc;
96 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { argument
102 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
108 void addSuppressedDiagnostic(SourceLocation Loc, argument
113 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
H A DParsedTemplate.h43 /// \param Loc the location of the type.
44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc) argument
45 : Kind(Kind), Arg(Arg), Loc(Loc) { }
61 SS(SS), Loc(TemplateLoc), EllipsisLoc() { }
88 SourceLocation getLocation() const { return Loc; }
126 SourceLocation Loc; member in class:clang::ParsedTemplateArgument
/external/clang/lib/Sema/
H A DDelayedDiagnostic.cpp22 DelayedDiagnostic DelayedDiagnostic::makeDeprecation(SourceLocation Loc, argument
29 DD.Loc = Loc;
/external/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp48 SourceLocation Loc = OrigLoc; local
52 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
H A DTransRetainReleaseDealloc.cpp248 SourceLocation Loc = Msg->getExprLoc(); local
249 if (!Loc.isMacroID())
252 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM,
/external/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp47 SourceLocation Loc = Parent->getLocStart(); local
48 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " "
H A DAnalyzerStatsChecker.cpp93 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); local
94 if (!Loc.isValid())
102 output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp76 StringRef CheckerContext::getMacroNameOrSpelling(SourceLocation &Loc) { argument
77 if (Loc.isMacroID())
78 return Lexer::getImmediateMacroName(Loc, getSourceManager(),
81 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
/external/clang/tools/libclang/
H A DCXSourceLocation.h31 SourceLocation Loc) {
32 if (Loc.isInvalid())
36 Loc.getRawEncoding() };
42 SourceLocation Loc) {
45 Loc);
30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, SourceLocation Loc) argument
41 translateSourceLocation(ASTContext &Context, SourceLocation Loc) argument
H A DIndexTypeSourceInfo.cpp128 SourceLocation Loc = NNS.getSourceRange().getBegin(); local
137 Loc, Parent, DC);
141 Loc, Parent, DC);
/external/llvm/include/llvm/ExecutionEngine/
H A DJITEventListener.h39 DebugLoc Loc; member in struct:llvm::JITEvent_EmittedFunctionDetails::LineStart
/external/llvm/lib/TableGen/
H A DError.cpp23 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, argument
26 if (Loc.empty())
27 Loc = NullLoc;
28 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
29 for (unsigned i = 1; i < Loc.size(); ++i)
30 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
38 void PrintWarning(const char *Loc, const Twine &Msg) { argument
39 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
54 void PrintError(const char *Loc, const Twine &Msg) { argument
55 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMg
[all...]
/external/clang/lib/AST/
H A DSelectorLocationsKind.cpp57 SourceLocation Loc = Arg->getLocStart(); local
58 if (Loc.isInvalid())
59 return Loc;
61 return Loc.getLocWithOffset(-1);
/external/llvm/lib/Analysis/
H A DLibCallAliasAnalysis.cpp47 const Location &Loc) {
69 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
90 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
121 const Location &Loc) {
129 MRInfo = ModRefResult(MRInfo & AnalyzeLibCallDetails(FI, CS, Loc));
136 return (ModRefResult)(MRInfo | AliasAnalysis::getModRefInfo(CS, Loc));
45 AnalyzeLibCallDetails(const LibCallFunctionInfo *FI, ImmutableCallSite CS, const Location &Loc) argument
120 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
H A DAliasDebugger.cpp106 const Location &Loc) {
107 assert(Vals.find(Loc.Ptr) != Vals.end() && "Never seen value in AA before");
108 return AliasAnalysis::getModRefInfo(CS, Loc);
116 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) { argument
117 assert(Vals.find(Loc.Ptr) != Vals.end() && "Never seen value in AA before");
118 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
105 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
H A DNoAliasAnalysis.cpp53 virtual bool pointsToConstantMemory(const Location &Loc, argument
58 const Location &Loc) {
57 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
/external/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp80 uintptr_t Address, DebugLoc Loc) {
83 Result.lineno = Loc.getLine();
85 Loc.getScope(MF.getFunction()->getContext()));
114 DebugLoc FirstLoc = Details.LineStarts[0].Loc;
135 *Details.MF, Filenames, I->Address, I->Loc));
78 LineStartToOProfileFormat( const MachineFunction &MF, FilenameCache &Filenames, uintptr_t Address, DebugLoc Loc) argument
/external/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp42 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
75 void HeaderIncludesCallback::FileChanged(SourceLocation Loc, argument
81 PresumedLoc UserLoc = SM.getPresumedLoc(Loc);

Completed in 305 milliseconds

12345678910