/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 415 SourceLocation AttrLoc; in rewritePropertyAttribute() local 429 AttrLoc = tok.getLocation(); in rewritePropertyAttribute() 434 if (AttrLoc.isValid() && AfterTok.is(tok::unknown)) in rewritePropertyAttribute() 439 if (AttrLoc.isInvalid()) in rewritePropertyAttribute() 444 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute() 450 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation())); in rewritePropertyAttribute() 452 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc)); in rewritePropertyAttribute()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 2296 SourceLocation AttrLoc) { in BuildVectorType() argument 2304 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << CurType; in BuildVectorType() 2311 Diag(AttrLoc, diag::err_attribute_invalid_bitint_vector_type) in BuildVectorType() 2318 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2324 Diag(AttrLoc, diag::err_attribute_argument_type) in BuildVectorType() 2331 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2337 Diag(AttrLoc, diag::err_attribute_size_too_large) in BuildVectorType() 2345 Diag(AttrLoc, diag::err_attribute_zero_size) in BuildVectorType() 2351 Diag(AttrLoc, diag::err_attribute_invalid_size) in BuildVectorType() 2357 Diag(AttrLoc, diag::err_attribute_size_too_large) in BuildVectorType() [all …]
|
H A D | SemaDeclAttr.cpp | 1362 SourceLocation AttrLoc = TmpAttr.getLocation(); in AddAssumeAlignedAttr() local 1365 Diag(AttrLoc, diag::warn_attribute_return_pointers_refs_only) in AddAssumeAlignedAttr() 1374 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 1378 Diag(AttrLoc, diag::err_attribute_argument_type) in AddAssumeAlignedAttr() 1385 Diag(AttrLoc, diag::err_alignment_not_power_of_two) in AddAssumeAlignedAttr() 1396 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 1410 SourceLocation AttrLoc = CI.getLoc(); in AddAllocAlignAttr() local 1414 Diag(AttrLoc, diag::warn_attribute_return_pointers_refs_only) in AddAllocAlignAttr() 3870 SourceLocation AttrLoc = CI.getLoc(); in AddAlignValueAttr() local 3882 Diag(AttrLoc, diag::warn_attribute_pointer_or_reference_only) in AddAlignValueAttr() [all …]
|
H A D | SemaDeclCXX.cpp | 6137 SourceLocation AttrLoc) in ReferenceDllExportedMembers() 6141 Ctx.PointOfInstantiation = AttrLoc; in ReferenceDllExportedMembers()
|
H A D | TreeTransform.h | 1403 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument 1408 return SemaRef.BuildAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 181 SourceLocation AttrLoc; member 191 SourceLocation AttrLoc; member
|
H A D | ubsan_handlers.cpp | 697 if (!Data->AttrLoc.isInvalid()) in handleNonNullReturn() 698 Diag(Data->AttrLoc, DL_Note, ET, "%0 specified here") in handleNonNullReturn() 744 if (!Data->AttrLoc.isInvalid()) in handleNonNullArg() 745 Diag(Data->AttrLoc, DL_Note, ET, "%0 specified here") in handleNonNullArg()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 159 SourceLocation AttrLoc; in handleObjCMethod() local 164 AttrLoc = isGetter ? in handleObjCMethod() 171 if (AttrLoc.isValid()) { in handleObjCMethod() 172 MethodLoc = AttrLoc; in handleObjCMethod() 176 } else if (AttrLoc.isValid()) { in handleObjCMethod() 177 IndexCtx.handleReference(D, AttrLoc, cast<NamedDecl>(D->getDeclContext()), in handleObjCMethod()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TypeLoc.h | 1758 SourceLocation AttrLoc; member 1771 return getLocalData()->AttrLoc; in getAttrNameLoc() 1774 getLocalData()->AttrLoc = loc; in setAttrNameLoc() 1908 SourceLocation AttrLoc; member 1920 SourceLocation getAttrNameLoc() const { return getLocalData()->AttrLoc; } in getAttrNameLoc() 1921 void setAttrNameLoc(SourceLocation loc) { getLocalData()->AttrLoc = loc; } in setAttrNameLoc()
|
H A D | ASTContext.h | 1567 SourceLocation AttrLoc, 1583 SourceLocation AttrLoc) const; 1597 SourceLocation AttrLoc) const; 1601 SourceLocation AttrLoc) const;
|
H A D | Stmt.h | 178 SourceLocation AttrLoc; 2095 AttributedStmtBits.AttrLoc = Loc; 2102 AttributedStmtBits.AttrLoc = SourceLocation{}; 2118 SourceLocation getAttrLoc() const { return AttributedStmtBits.AttrLoc; }
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDeclCXX.cpp | 4881 SourceLocation ScopeLoc, AttrLoc; in ParseCXX11AttributeSpecifierInternal() local 4885 AttrLoc, SemaCodeCompletion::AttributeCompletion::Attribute, in ParseCXX11AttributeSpecifierInternal() 4894 ScopeLoc = AttrLoc; in ParseCXX11AttributeSpecifierInternal() 4897 AttrLoc, SemaCodeCompletion::AttributeCompletion::Attribute, in ParseCXX11AttributeSpecifierInternal() 4918 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, Attrs, EndLoc, in ParseCXX11AttributeSpecifierInternal() 4924 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc, AttrLoc), in ParseCXX11AttributeSpecifierInternal()
|
H A D | ParseDecl.cpp | 650 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; in ParseAttributeArgsCommon() local 656 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 3990 SourceLocation AttrLoc; in EmitReturnValueCheck() local 3996 AttrLoc = RetNNAttr->getLocation(); in EmitReturnValueCheck() 4003 AttrLoc = FTL.getReturnLoc().findNullabilityLoc(); in EmitReturnValueCheck() 4024 llvm::Constant *StaticData[] = {EmitCheckSourceLocation(AttrLoc)}; in EmitReturnValueCheck() 4382 SourceLocation AttrLoc; in EmitNonNullArgCheck() local 4386 AttrLoc = NNAttr->getLocation(); in EmitNonNullArgCheck() 4390 AttrLoc = PVD->getTypeSourceInfo()->getTypeLoc().findNullabilityLoc(); in EmitNonNullArgCheck() 4398 EmitCheckSourceLocation(ArgLoc), EmitCheckSourceLocation(AttrLoc), in EmitNonNullArgCheck()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 4464 SourceLocation AttrLoc, in getDependentVectorType() argument 4476 VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4481 DependentVectorType(VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4493 DependentVectorType(VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4539 SourceLocation AttrLoc) const { in getDependentSizedExtVectorType() 4553 AttrLoc); in getDependentSizedExtVectorType() 4558 DependentSizedExtVectorType(vecType, QualType(), SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 4569 DependentSizedExtVectorType(vecType, CanonExtTy, SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 4612 SourceLocation AttrLoc) const { in getDependentSizedMatrixType() 4625 ColumnExpr, AttrLoc); in getDependentSizedMatrixType() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 14619 QualType BuildVectorType(QualType T, Expr *VecSize, SourceLocation AttrLoc); 14625 SourceLocation AttrLoc); 14627 SourceLocation AttrLoc); 14640 SourceLocation AttrLoc); 14644 SourceLocation AttrLoc);
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 216 S->AttributedStmtBits.AttrLoc = readSourceLocation(); in VisitAttributedStmt()
|