/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 2205 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local 3921 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local 3932 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs() 3933 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs() 3941 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs() 3942 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs() 4022 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local 4061 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() 4062 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl() 4173 if (DeclLoc.isInvalid()) in RewriteByRefVar() [all …]
|
H A D | RewriteModernObjC.cpp | 4767 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local 4778 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs() 4787 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs() 4788 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs() 4868 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local 4907 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() 4908 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl() 5016 if (DeclLoc.isInvalid()) in RewriteByRefVar() 5019 DeclLoc = ND->getLocation(); in RewriteByRefVar() 5115 DeclLoc = ND->getLocation(); in RewriteByRefVar() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | Transfer.cpp | 193 auto *DeclLoc = Env.getStorageLocation(*VD); in VisitDeclRefExpr() local 194 if (DeclLoc == nullptr) in VisitDeclRefExpr() 197 Env.setStorageLocation(*S, *DeclLoc); in VisitDeclRefExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAvailability.cpp | 127 auto DeclLoc = Ctx->getBeginLoc(); in ShouldDiagnoseAvailabilityInContext() local 129 if (DeclLoc.isMacroID() && S.getLangOpts().CPlusPlus && in ShouldDiagnoseAvailabilityInContext() 131 StringRef MacroName = S.getPreprocessor().getImmediateMacroName(DeclLoc); in ShouldDiagnoseAvailabilityInContext()
|
H A D | SemaInit.cpp | 4091 Sema &S, SourceLocation DeclLoc, MultiExprArg Args, in ResolveConstructorOverload() argument 4191 return CandidateSet.BestViableFunction(S, DeclLoc, Best); in ResolveConstructorOverload() 4468 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceListInitialization() local 4470 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2); in TryReferenceListInitialization() 4849 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryRefInitWithConversionFunction() local 4854 = CandidateSet.BestViableFunction(S, DeclLoc, Best)) in TryRefInitWithConversionFunction() 4885 S.CompareReferenceRelationship(DeclLoc, T1, cv3T3, &RefConv); in TryRefInitWithConversionFunction() 4983 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceInitializationCore() local 5725 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryUserDefinedConversion() local 5733 if (S.isCompleteType(DeclLoc, SourceType)) { in TryUserDefinedConversion() [all …]
|
H A D | SemaType.cpp | 1293 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType() local 1294 if (DeclLoc.isInvalid()) in ConvertDeclSpecToType() 1295 DeclLoc = DS.getBeginLoc(); in ConvertDeclSpecToType() 1372 S.Diag(DeclLoc, diag::warn_missing_type_specifier) in ConvertDeclSpecToType() 1381 S.Diag(DeclLoc, diag::err_missing_type_specifier) in ConvertDeclSpecToType() 1390 S.Diag(DeclLoc, diag::err_missing_actual_pipe_type) in ConvertDeclSpecToType() 1396 S.Diag(DeclLoc, diag::ext_missing_type_specifier) in ConvertDeclSpecToType() 1919 QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS); in ConvertDeclSpecToType()
|
H A D | SemaDeclObjC.cpp | 4134 SourceLocation DeclLoc(IDecl->getLocation()); in ActOnAtEnd() local 4135 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd() 4136 Diag(DeclLoc, diag::warn_objc_root_class_missing) in ActOnAtEnd() 4142 DeclLoc, LookupOrdinaryName); in ActOnAtEnd()
|
H A D | SemaOverload.cpp | 4886 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument 4893 DeclLoc, OverloadCandidateSet::CSK_InitByUserDefinedConversion); in FindConversionForRefInit() 4921 DeclLoc, in FindConversionForRefInit() 4954 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best)) { in FindConversionForRefInit() 5003 SourceLocation DeclLoc, in TryReferenceInit() argument 5031 S.CompareReferenceRelationship(DeclLoc, T1, T2, &RefConv); in TryReferenceInit() 5101 S.isCompleteType(DeclLoc, T2) && in TryReferenceInit() 5103 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit() 5149 T2->isRecordType() && S.isCompleteType(DeclLoc, T2) && in TryReferenceInit() 5150 FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
|
H A D | SemaLookup.cpp | 5711 SourceLocation DeclLoc, in diagnoseMissingImport() argument 5725 Diag(DeclLoc, diag::note_unreachable_entity) << (int)MIK; in diagnoseMissingImport() 5741 PP.getHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport()
|
H A D | SemaTemplate.cpp | 3377 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, in MatchTemplateParametersToScopeSpecifier() argument 3489 Diag(DeclLoc, diag::err_specialize_member_of_template) in MatchTemplateParametersToScopeSpecifier() 3512 Diag(DeclLoc, diag::err_template_spec_needs_header) in MatchTemplateParametersToScopeSpecifier() 3659 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters) in MatchTemplateParametersToScopeSpecifier()
|
H A D | SemaDecl.cpp | 18921 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, in ActOnLastBitfield() argument 18943 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc); in ActOnLastBitfield() 18946 DeclLoc, DeclLoc, nullptr, in ActOnLastBitfield() 18949 DeclLoc), in ActOnLastBitfield()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 218 SourceLocation DeclLoc = Tok.getLocation(); in ParseOptionalCXXScopeSpecifier() local 226 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc); in ParseOptionalCXXScopeSpecifier() 231 SS.SetInvalid(SourceRange(DeclLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 295 for (const auto DeclLoc : DeclLocs) { in getRawCommentForDeclNoCache() local 298 if (DeclLoc.isInvalid() || !DeclLoc.isFileID()) in getRawCommentForDeclNoCache() 309 const FileID File = SourceMgr.getDecomposedLoc(DeclLoc).first; in getRawCommentForDeclNoCache() 318 getRawCommentForDeclNoCacheImpl(D, DeclLoc, *CommentsInThisFile)) in getRawCommentForDeclNoCache() 542 for (const auto DeclLoc : DeclLocs) { in attachCommentsToJustParsedDecls() local 543 if (DeclLoc.isInvalid() || !DeclLoc.isFileID()) in attachCommentsToJustParsedDecls() 547 D, DeclLoc, *CommentsInThisFile)) { in attachCommentsToJustParsedDecls()
|
H A D | ExprConstant.cpp | 15763 SourceLocation DeclLoc = VD->getLocation(); in EvaluateAsInitializer() local 15771 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer() 15802 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 3793 SourceLocation DeclLoc; in ReadDeclRecord() local 3794 RecordLocation Loc = DeclCursorForID(ID, DeclLoc); in ReadDeclRecord() 3813 ASTDeclReader Reader(*this, Record, Loc, ID, DeclLoc); in ReadDeclRecord()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 3300 SourceLocation DeclLoc, ArrayRef<Module *> Modules, 8345 SourceLocation DeclStartLoc, SourceLocation DeclLoc,
|