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

1234567891011>>

/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.h22 SourceLocation Loc; member in struct:__ubsan::DynamicTypeCacheMissData
H A Dubsan_handlers_cxx.cc46 SourceLocation Loc = Data->Loc.acquire();
48 if (ignoreReport(Loc, Opts, ET))
51 ScopedReport R(Opts, Loc, ET);
53 Diag(Loc, DL_Error,
100 SourceLocation Loc = Data->Loc.acquire(); local
103 if (ignoreReport(Loc, Opts, ET))
106 ScopedReport R(Opts, Loc, ET);
129 Diag(Loc, DL_Erro
[all...]
/external/swiftshader/third_party/LLVM/lib/TableGen/
H A DError.cpp27 void PrintError(const char *Loc, const Twine &Msg) { argument
28 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), Msg, "error");
/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.h64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
65 return Diags.Report(Loc, DiagID);
155 VerbatimBlockComment *actOnVerbatimBlockStart(SourceLocation Loc,
158 VerbatimBlockLineComment *actOnVerbatimBlockLine(SourceLocation Loc,
H A DLambdaCapture.h52 SourceLocation Loc; member in class:clang::LambdaCapture
61 /// \param Loc The source location associated with this capture.
74 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind,
126 SourceLocation getLocation() const { return 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/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) {}
/external/clang/unittests/Tooling/
H A DFixItTest.cpp31 std::string LocationToString(SourceLocation Loc, ASTContext *Context) { argument
32 return Loc.printToString(Context->getSourceManager());
/external/swiftshader/third_party/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 PrintError(const char *Loc, const Twine &Msg);
/external/clang/include/clang/Tooling/
H A DFixIt.h36 /// \brief Returns the SourceRange of the token at Location \p Loc.
37 inline SourceRange getSourceRange(const SourceLocation &Loc) { argument
38 return SourceRange(Loc);
/external/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp48 SourceLocation Loc = OrigLoc; local
52 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
/external/clang/lib/Basic/
H A DSanitizerBlacklist.cpp41 bool SanitizerBlacklist::isBlacklistedLocation(SourceLocation Loc, argument
43 return Loc.isValid() &&
44 isBlacklistedFile(SM.getFilename(SM.getFileLoc(Loc)), Category);
/external/clang/lib/Sema/
H A DDelayedDiagnostic.cpp24 SourceLocation Loc,
42 DD.Loc = Loc;
23 makeAvailability(Sema::AvailabilityDiagnostic AD, SourceLocation Loc, const NamedDecl *D, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, StringRef Msg, bool ObjCPropertyAccess) argument
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp94 StringRef CheckerContext::getMacroNameOrSpelling(SourceLocation &Loc) { argument
95 if (Loc.isMacroID())
96 return Lexer::getImmediateMacroName(Loc, getSourceManager(),
99 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
/external/clang/test/Analysis/
H A Dregion-store.cpp4 class Loc { class
9 Loc l;
10 void setLoc(Loc L) {
24 int radar13445834(Derived *Builder, Loc l) {
/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
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp29 for (unsigned char Loc : E.Loc) {
30 OS << format("%2.2x ", Loc);
41 LocationList &Loc = Locations.back(); local
42 Loc.Offset = Offset;
69 E.Loc.append(str.begin(), str.end());
70 Loc.Entries.push_back(std::move(E));
81 LocationList &Loc = Locations.back(); local
82 Loc.Offset = Offset;
102 E.Loc
[all...]
/external/llvm/lib/ProfileData/
H A DSampleProf.cpp72 const LineLocation &Loc) {
73 Loc.print(OS);
71 operator <<(raw_ostream &OS, const LineLocation &Loc) argument
/external/llvm/lib/TableGen/
H A DError.cpp26 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, argument
34 if (Loc.empty())
35 Loc = NullLoc;
36 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
37 for (unsigned i = 1; i < Loc.size(); ++i)
38 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
46 void PrintWarning(const char *Loc, const Twine &Msg) { argument
47 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
58 void PrintError(const char *Loc, const Twine &Msg) { argument
59 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMg
[all...]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp30 SMLoc Loc) {
31 return ConstantPools->addEntry(Streamer, Expr, Size, Loc);
28 addConstantPoolEntry(const MCExpr *Expr, unsigned Size, SMLoc Loc) argument
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DDebugLoc.h35 TrackingMDNodeRef Loc; member in class:llvm::DebugLoc
64 /// the conversion to \c DILocation, this doesn't require that \c Loc is of
67 explicit operator bool() const { return Loc; }
70 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); }
103 MDNode *getAsMDNode() const { return Loc; }
105 bool operator==(const DebugLoc &DL) const { return Loc == DL.Loc; }
106 bool operator!=(const DebugLoc &DL) const { return Loc != DL.Loc; }
/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);

Completed in 565 milliseconds

1234567891011>>