Searched refs:Loc (Results 251 - 275 of 332) sorted by relevance

<<11121314

/external/clang/lib/AST/
H A DCommentSema.cpp290 VerbatimBlockComment *Sema::actOnVerbatimBlockStart(SourceLocation Loc, argument
294 Loc,
295 Loc.getLocWithOffset(1 + CommandName.size()),
299 VerbatimBlockLineComment *Sema::actOnVerbatimBlockLine(SourceLocation Loc, argument
301 return new (Allocator) VerbatimBlockLineComment(Loc, Text);
/external/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp194 SVal ArrayToPointer(Loc Array);
258 StoreRef Bind(Store store, Loc LV, SVal V);
298 StoreRef killBinding(Store ST, Loc L);
326 SVal getBinding(Store store, Loc L, QualType T = QualType());
706 else if (Loc::isLocType(VR->getValueType())) {
714 if (const Loc *L = dyn_cast<Loc>(&V)) {
884 SVal RegionStoreManager::ArrayToPointer(Loc Array) {
1026 SVal RegionStoreManager::getBinding(Store store, Loc L, QualType T) {
1060 // instead of 'Loc', an
[all...]
H A DHTMLDiagnostics.cpp478 SourceLocation Loc = local
481 R.InsertTextBefore(Loc, os.str());
H A DExprEngineObjC.cpp114 assert(Loc::isLocType(T));
/external/elfutils/libcpu/
H A Di386_parse.c845 # define YY_LOCATION_PRINT(File, Loc) \
847 (Loc).first_line, (Loc).first_column, \
848 (Loc).last_line, (Loc).last_column)
850 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
/external/mesa3d/src/glsl/glcpp/
H A Dglcpp-parse.c1017 # define YY_LOCATION_PRINT(File, Loc) \
1019 (Loc).first_line, (Loc).first_column, \
1020 (Loc).last_line, (Loc).last_column)
1022 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
/external/clang/include/clang/AST/
H A DDeclarationName.h429 /// Loc - The main source location for the declaration name.
504 void setCXXLiteralOperatorNameLoc(SourceLocation Loc) { argument
506 LocInfo.CXXLiteralOperatorName.OpNameLoc = Loc.getRawEncoding();
H A DComment.h35 SourceLocation Loc; member in class:clang::comments::Comment
144 Loc = L;
162 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
189 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp372 PathDiagnosticLocation Loc = local
374 Report(V, DeadInit, Loc, E->getSourceRange());
H A DDereferenceChecker.cpp193 if (!isa<Loc>(location))
/external/clang/lib/Lex/
H A DLexer.cpp389 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, argument
400 Loc = SM.getExpansionLoc(Loc);
401 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
421 static SourceLocation getBeginningOfFileToken(SourceLocation Loc, argument
424 assert(Loc.isFileID());
425 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
427 return Loc;
432 return Loc;
438 return Loc;
481 GetBeginningOfToken(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts) argument
716 getLocForEndOfToken(SourceLocation Loc, unsigned Offset, const SourceManager &SM, const LangOptions &LangOpts) argument
922 getImmediateMacroName(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts) argument
1164 getSourceLocation(const char *Loc, unsigned TokLen) const argument
1183 Diag(const char *Loc, unsigned DiagID) const argument
1277 findLocationAfterToken(SourceLocation Loc, tok::TokenKind TKind, const SourceManager &SM, const LangOptions &LangOpts, bool SkipTrailingWhitespaceAndNewLine) argument
2542 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); local
[all...]
H A DPragma.cpp1233 SourceLocation Loc = NameTok.getLocation(); local
1264 PP.Diag(Loc, diag::err_pp_double_begin_of_arc_cf_code_audited);
1267 NewLoc = Loc;
1271 PP.Diag(Loc, diag::err_pp_unmatched_end_of_arc_cf_code_audited);
H A DPPDirectives.cpp1170 bool Preprocessor::GetIncludeFilenameSpelling(SourceLocation Loc, argument
1179 Diag(Loc, diag::err_pp_expects_filename);
1186 Diag(Loc, diag::err_pp_expects_filename);
1192 Diag(Loc, diag::err_pp_expects_filename);
1199 Diag(Loc, diag::err_pp_empty_filename);
1574 SourceLocation Loc = IncludeMacrosTok.getLocation(); local
1575 if (strcmp(SourceMgr.getBufferName(Loc), "<built-in>") != 0) {
/external/clang/lib/Parse/
H A DParseExpr.cpp1317 SourceLocation Loc; local
1361 Loc = T.getOpenLocation();
1372 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.take(), Loc,
1418 Loc = PrevTokLocation;
1433 Loc = PT.getOpenLocation();
1465 LHS = Actions.ActOnCallExpr(getCurScope(), LHS.take(), Loc,
1530 SourceLocation Loc = ConsumeToken(); local
1531 Name.setIdentifier(Id, Loc);
H A DParseTemplate.cpp1097 SourceLocation Loc = Tok.getLocation(); local
1105 Loc);
1124 SourceLocation Loc = Tok.getLocation(); local
1130 ExprArg.release(), Loc);
/external/clang/tools/libclang/
H A DCIndex.cpp1278 bool CursorVisitor::VisitTemplateName(TemplateName Name, SourceLocation Loc) { argument
1281 return Visit(MakeCursorTemplateRef(Name.getAsTemplateDecl(), Loc, TU));
1285 if (Visit(MakeCursorOverloadedDeclRef(Name, Loc, TU)))
1298 Loc, TU));
1303 Loc, TU));
1308 Loc, TU));
1574 return Visit##PARENT##Loc(TL); \
3260 SourceLocation Loc = cxloc::translateSourceLocation(CXLoc); local
3261 return cxloc::translateSourceRange(Ctx, Loc);
3755 CXCursor clang_getCursor(CXTranslationUnit TU, CXSourceLocation Loc) { argument
4995 CXSourceLocation Loc = clang_getCursorLocation(cursor); local
[all...]
H A DCursorVisitor.h246 bool VisitTemplateName(TemplateName Name, SourceLocation Loc);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h95 assert(T->isIntegerType() || Loc::isLocType(T));
/external/clang/lib/ARCMigrate/
H A DTransforms.h89 SourceLocation Loc; member in struct:clang::arcmt::trans::MigrationContext::GCAttrOccurrence
160 /// \brief 'Loc' is the end of a statement range. This returns the location
166 /// \brief \arg Loc is the end of a statement range. This returns the location
/external/llvm/include/llvm/MC/
H A DMCDwarf.h264 SMLoc &Loc);
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.h334 Record *InstOpRec, bool hasSubOps, ArrayRef<SMLoc> Loc,
/external/clang/lib/Sema/
H A DSemaFixItUtils.cpp26 SourceLocation Loc,
23 compareTypesSimple(CanQualType From, CanQualType To, Sema &S, SourceLocation Loc, ExprValueKind FromVK) argument
H A DSemaOverload.cpp42 SourceLocation Loc = SourceLocation(),
45 VK_LValue, Loc, LocInfo);
3861 Sema::CompareReferenceRelationship(SourceLocation Loc, argument
3885 } else if (!RequireCompleteType(Loc, OrigT2, 0) &&
4569 SourceLocation Loc,
4571 OpaqueValueExpr TmpExpr(Loc, FromQTy, FromVK);
5029 /// \param Loc The source location of the construct that requires the
5042 Sema::ConvertToIntegralOrEnumerationType(SourceLocation Loc, Expr *From, argument
5068 Diagnoser.diagnoseNotInt(*this, Loc, T) << From->getSourceRange();
5080 virtual void diagnose(Sema &S, SourceLocation Loc, QualTyp argument
4566 TryCopyInitialization(const CanQualType FromQTy, const CanQualType ToQTy, Sema &S, SourceLocation Loc, ExprValueKind FromVK) argument
6218 AddTypesConvertedFrom(QualType Ty, SourceLocation Loc, bool AllowUserConversions, bool AllowExplicitConversions, const Qualifiers &VisibleQuals) argument
7650 AddArgumentDependentLookupCandidates(DeclarationName Name, bool Operator, SourceLocation Loc, llvm::ArrayRef<Expr *> Args, TemplateArgumentListInfo *ExplicitTemplateArgs, OverloadCandidateSet& CandidateSet, bool PartialOverloading, bool StdNamespaceIsAssociated) argument
7700 isBetterOverloadCandidate(Sema &S, const OverloadCandidate &Cand1, const OverloadCandidate &Cand2, SourceLocation Loc, bool UserDefinedConversion) argument
7824 BestViableFunction(Sema &S, SourceLocation Loc, iterator &Best, bool UserDefinedConversion) argument
11257 BuildForRangeBeginEndCall(Scope *S, SourceLocation Loc, SourceLocation RangeLoc, VarDecl *Decl, BeginEndFunction BEF, const DeclarationNameInfo &NameInfo, LookupResult &MemberLookup, OverloadCandidateSet *CandidateSet, Expr *Range, ExprResult *CallExpr) argument
11454 SourceLocation Loc = MemExpr->getMemberLoc(); local
[all...]
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp258 void InsertText(SourceLocation Loc, StringRef Str, argument
261 if (!Rewrite.InsertText(Loc, Str, InsertAfter) ||
265 Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag);
672 SourceLocation Loc = D->getLocation();
673 Loc = SM->getExpansionLoc(Loc);
676 if (Loc.isInvalid()) return;
750 if (SM->isFromMainFile(Loc))
1067 SourceLocation Loc = prop->getAtLoc(); local
1069 ReplaceText(Loc,
2129 SourceLocation Loc, EndLoc; local
2157 SourceLocation Loc; local
[all...]
H A DRewriteObjC.cpp244 void InsertText(SourceLocation Loc, StringRef Str, argument
247 if (!Rewrite.InsertText(Loc, Str, InsertAfter) ||
251 Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag);
652 SourceLocation Loc = D->getLocation();
653 Loc = SM->getExpansionLoc(Loc);
656 if (Loc.isInvalid()) return;
723 if (SM->isFromMainFile(Loc))
961 SourceLocation Loc = prop->getAtLoc(); local
963 ReplaceText(Loc,
2118 SourceLocation Loc, EndLoc; local
2146 SourceLocation Loc; local
[all...]

Completed in 470 milliseconds

<<11121314