/external/clang/lib/Sema/ |
SemaType.cpp | 78 SourceLocation loc = attr.getLoc(); local 84 if (useExpansionLoc && loc.isMacroID() && II) { 86 if (S.findMacroSpelling(loc, "__strong")) name = "__strong"; 88 if (S.findMacroSpelling(loc, "__weak")) name = "__weak"; 92 S.Diag(loc, diag::warn_type_attribute_wrong_type) << name << WhichType 658 SourceLocation loc = declarator.getLocStart(); 682 loc, loc, declarator)); [all...] |
AnalysisBasedWarnings.cpp | 628 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); 631 std::string Init = S.getFixItZeroInitializerForType(VariableTy, Loc); 635 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() 636 << FixItHint::CreateInsertion(Loc, Init); [all...] |
SemaExpr.cpp | 75 static void DiagnoseUnusedOfDecl(Sema &S, NamedDecl *D, SourceLocation Loc) { 80 S.Diag(Loc, diag::warn_used_but_marked_unused) << D->getDeclName(); 85 NamedDecl *D, SourceLocation Loc, 123 D, Message, Loc, UnknownObjCClass, ObjCPDecl, 130 D, Message, Loc, UnknownObjCClass, ObjCPDecl, 197 SourceLocation Loc) { 225 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc); 229 S.Diag(Loc, DowngradeWarning ? diag::ext_internal_in_extern_inline 262 bool Sema::DiagnoseUseOfDecl(NamedDecl *D, SourceLocation Loc, 285 Diag(Loc, diag::ext_main_used) 5418 SourceLocation loc = NullExpr->getExprLoc(); local 13403 SourceLocation loc; local [all...] |
/external/clang/include/clang/AST/ |
ExprCXX.h | 182 SourceLocation Loc; // the location of the casting op 192 : ExplicitCastExpr(SC, ty, VK, kind, op, PathSize, writtenTy), Loc(l), 205 SourceLocation getOperatorLoc() const { return Loc; } 210 SourceLocation getLocStart() const LLVM_READONLY { return Loc; } 429 SourceLocation Loc; 434 Value(val), Loc(l) {} 442 SourceLocation getLocStart() const LLVM_READONLY { return Loc; } 443 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } 445 SourceLocation getLocation() const { return Loc; } 446 void setLocation(SourceLocation L) { Loc = L; [all...] |
CommentParser.h | 48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { 49 return Diags.Report(Loc, DiagID);
|
StmtCXX.h | 186 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } 188 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } 190 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; }
|
/external/clang/include/clang/Lex/ |
Token.h | 39 SourceLocation Loc; 113 SourceLocation getLocation() const { return Loc; } 119 void setLocation(SourceLocation L) { Loc = L; } 156 Loc = SourceLocation();
|
/external/clang/lib/StaticAnalyzer/Core/ |
ConstraintManager.cpp | 25 return loc::MemRegionVal(R); 31 DefinedSVal V = Loc::isLocType(Ty) ? getLocFromSymbol(State, Sym)
|
SimpleConstraintManager.cpp | 54 // We handle Loc <> Loc comparisons, but not (yet) NonLoc <> NonLoc. 55 if (Loc::isLocType(SSE->getLHS()->getType())) { 56 assert(Loc::isLocType(SSE->getRHS()->getType())); 71 // If we have a Loc value, cast it to a bool NonLoc first. 72 if (Optional<Loc> LV = Cond.getAs<Loc>()) { 163 assert(Loc::isLocType(SSE->getLHS()->getType())); 164 assert(Loc::isLocType(SSE->getRHS()->getType()));
|
/external/llvm/include/llvm/Analysis/ |
LibCallSemantics.h | 51 const AliasAnalysis::Location &Loc);
|
/external/llvm/include/llvm/ExecutionEngine/ |
JITEventListener.h | 39 DebugLoc Loc;
|
/external/llvm/include/llvm/MC/MCParser/ |
AsmLexer.h | 59 AsmToken ReturnError(const char *Loc, const std::string &Msg);
|
/external/clang/lib/Edit/ |
EditedSource.cpp | 268 SourceLocation Loc, FileOffset offs, 271 SourceLocation BeginTokLoc = Lexer::GetBeginningOfToken(Loc, SM, LangOpts); 272 if (BeginTokLoc != Loc) 308 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); 309 Loc = Loc.getLocWithOffset(offs.getOffset()); 310 assert(Loc.isFileID()); 313 adjustRemoval(SM, LangOpts, Loc, offs, len, text); 315 CharSourceRange range = CharSourceRange::getCharRange(Loc, 316 Loc.getLocWithOffset(len)) [all...] |
/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 72 SourceLocation Loc = PPE->getSourceRange().getBegin(); 73 if (Loc.isInvalid()) 76 if (SM.isInFileID(SM.getFileLoc(Loc), FID)) 203 SourceLocation Loc) const { 204 if (SourceMgr.isLoadedSourceLocation(Loc)) 222 Loc)){ 234 SourceLocation Loc) const { 235 if (SourceMgr.isLoadedSourceLocation(Loc)) 241 Loc, 384 void PreprocessingRecord::Ifdef(SourceLocation Loc, const Token &MacroNameTok [all...] |
/external/llvm/lib/Analysis/ |
TypeBasedAliasAnalysis.cpp | 303 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) override; 307 const Location &Loc) override; 470 bool TypeBasedAliasAnalysis::pointsToConstantMemory(const Location &Loc, 473 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 475 const MDNode *M = Loc.TBAATag; 476 if (!M) return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 484 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 512 const Location &Loc) { 514 return AliasAnalysis::getModRefInfo(CS, Loc); 516 if (const MDNode *L = Loc.TBAATag [all...] |
MemDepPrinter.cpp | 129 AliasAnalysis::Location Loc = AA.getLocation(LI); 130 MDA.getNonLocalPointerDependency(Loc, true, LI->getParent(), NLDI); 138 AliasAnalysis::Location Loc = AA.getLocation(SI); 139 MDA.getNonLocalPointerDependency(Loc, false, SI->getParent(), NLDI); 141 AliasAnalysis::Location Loc = AA.getLocation(VI); 142 MDA.getNonLocalPointerDependency(Loc, false, VI->getParent(), NLDI);
|
/external/clang/lib/CodeGen/ |
CGOpenMPRuntime.h | 67 // Call to void __kmpc_fork_call(ident_t *loc, kmp_int32 argc, kmpc_micro 70 // Call to kmp_int32 kmpc_global_thread_num(ident_t *loc); 149 /// \param Loc Clang source location. 153 EmitOpenMPUpdateLocation(CodeGenFunction &CGF, SourceLocation Loc, 158 /// \param Loc Clang source location. 161 SourceLocation Loc);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
TraversalChecker.cpp | 48 SourceLocation Loc = Parent->getLocStart(); 49 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " "
|
/external/llvm/include/llvm/MC/ |
MCTargetAsmParser.h | 59 SMLoc Loc; 63 AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len = 0, unsigned val = 0) 64 : Kind(kind), Loc(loc), Len(len), Val(val) {}
|
/external/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 121 SourceLocation Loc; 126 SourceLocation Loc, 134 static DelayedDiagnostic makeAccess(SourceLocation Loc, 139 DD.Loc = Loc; 144 static DelayedDiagnostic makeForbiddenType(SourceLocation loc, 151 DD.Loc = loc; 181 /// Diag(diag.Loc, diag.getForbiddenTypeDiagnostic())
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
Store.h | 56 /// \param[in] loc The symbolic memory location. 60 /// \return The value bound to the location \c loc. 61 virtual SVal getBinding(Store store, Loc loc, QualType T = QualType()) = 0; 65 /// \param[in] loc The symbolic memory location. 66 /// \param[in] val The value to bind to location \c loc. 69 /// by \c val bound to the location given for \c loc. 70 virtual StoreRef Bind(Store store, Loc loc, SVal val) = 0; 77 virtual StoreRef killBinding(Store ST, Loc L) = 0 [all...] |
/frameworks/compile/slang/ |
slang_rs_context.h | 252 const clang::SourceLocation Loc, 256 return DiagEngine->Report(clang::FullSourceLoc(Loc, *SM), 268 clang::DiagnosticBuilder ReportError(const clang::SourceLocation Loc, 270 return Report<N>(clang::DiagnosticsEngine::Error, Loc, Message); 279 clang::DiagnosticBuilder ReportWarning(const clang::SourceLocation Loc, 281 return Report<N>(clang::DiagnosticsEngine::Warning, Loc, Message);
|
/external/clang/lib/Analysis/ |
ReachableCode.cpp | 115 static SourceLocation getTopMostMacro(SourceLocation Loc, SourceManager &SM) { 116 assert(Loc.isMacroID()); 118 while (Loc.isMacroID()) { 119 Last = Loc; 120 Loc = SM.getImmediateMacroCallerLoc(Loc); 592 SourceLocation Loc = LoopTarget->getLocStart(); 593 SourceRange R1(Loc, Loc), R2; 597 Loc = Inc->getLocStart() [all...] |
/external/clang/tools/libclang/ |
CXCursor.cpp | 551 SourceLocation Loc, 554 void *RawLoc = Loc.getPtrEncoding(); 567 SourceLocation Loc, 570 void *RawLoc = Loc.getPtrEncoding(); 583 SourceLocation Loc, 589 void *RawLoc = Loc.getPtrEncoding(); 601 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, 604 void *RawLoc = Loc.getPtrEncoding(); 617 SourceLocation Loc, 620 void *RawLoc = Loc.getPtrEncoding() [all...] |
/external/llvm/lib/Target/AArch64/AsmParser/ |
AArch64AsmParser.cpp | 73 bool showMatchError(SMLoc Loc, unsigned ErrCode); 84 bool validateInstruction(MCInst &Inst, SmallVectorImpl<SMLoc> &Loc); [all...] |