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

12345678910

/external/clang/include/clang/Basic/
H A DPrettyStackTrace.h28 SourceLocation Loc; member in class:clang::PrettyStackTraceLoc
32 : SM(sm), Loc(L), Message(Msg) {}
/external/clang/include/clang/Frontend/
H A DTextDiagnostic.h82 virtual void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc,
88 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
92 virtual void emitCodeContext(SourceLocation Loc, argument
96 emitSnippetAndCaret(Loc, Level, Ranges, Hints);
101 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc);
104 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
51 TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc) argument
52 : Context(Context), Deduced(0), Loc(Loc) { }
61 return Loc;
79 void addSuppressedDiagnostic(SourceLocation Loc, argument
81 SuppressedDiagnostics.push_back(std::make_pair(Loc, PD));
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 Loc(TemplateLoc), SS(SS), EllipsisLoc() { }
88 SourceLocation getLocation() const { return Loc; }
122 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;
H A DSemaFixItUtils.cpp25 SourceLocation Loc,
22 compareTypesSimple(CanQualType From, CanQualType To, Sema &S, SourceLocation Loc, ExprValueKind FromVK) argument
/external/llvm/include/llvm/TableGen/
H A DError.h23 SMLoc Loc; member in class:llvm::TGError
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/ARCMigrate/
H A DTransARCAssign.cpp47 SourceLocation Loc = OrigLoc; local
51 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
H A DTransRetainReleaseDealloc.cpp171 SourceLocation Loc = Msg->getExprLoc(); local
172 if (!Loc.isMacroID())
175 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM,
/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.cpp27 void PrintWarning(const char *Loc, const Twine &Msg) { argument
28 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
43 void PrintError(const char *Loc, const Twine &Msg) { argument
44 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
/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);
H A DExprClassification.cpp35 Cl::Kinds Kind, SourceLocation &Loc);
52 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const {
85 if (Loc)
86 modifiable = IsModifiable(Ctx, this, kind, *Loc);
539 Cl::Kinds Kind, SourceLocation &Loc) {
548 Loc = CE->getExprLoc();
612 Expr::isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc) const {
614 Classification VC = ClassifyModifiable(Ctx, Loc ? *Loc : dummy);
538 IsModifiable(ASTContext &Ctx, const Expr *E, Cl::Kinds Kind, SourceLocation &Loc) argument
/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/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);
/external/clang/lib/StaticAnalyzer/Checkers/
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/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/include/clang/Analysis/Analyses/
H A DThreadSafety.h73 /// \param Loc -- the SourceLocation of the unresolved expression.
74 virtual void handleInvalidLockExp(SourceLocation Loc) {} argument
80 /// \param Loc -- The SourceLocation of the Unlock
81 virtual void handleUnmatchedUnlock(Name LockName, SourceLocation Loc) {} argument
86 /// \param Loc -- The location of the second lock expression.
87 virtual void handleDoubleLock(Name LockName, SourceLocation Loc) {} argument
120 /// \param Loc -- The location of the protected operation.
122 AccessKind AK, SourceLocation Loc) {}
131 /// \param Loc -- The location of the protected operation.
134 LockKind LK, SourceLocation Loc) {}
121 handleNoMutexHeld(const NamedDecl *D, ProtectedOperationKind POK, AccessKind AK, SourceLocation Loc) argument
132 handleMutexNotHeld(const NamedDecl *D, ProtectedOperationKind POK, Name LockName, LockKind LK, SourceLocation Loc) argument
142 handleFunExcludesLock(Name FunName, Name LockName, SourceLocation Loc) argument
[all...]

Completed in 4613 milliseconds

12345678910