/openbsd/gnu/llvm/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 414 SourceLocation AttrLoc; in rewritePropertyAttribute() local 428 AttrLoc = tok.getLocation(); in rewritePropertyAttribute() 433 if (AttrLoc.isValid() && AfterTok.is(tok::unknown)) in rewritePropertyAttribute() 438 if (AttrLoc.isInvalid()) in rewritePropertyAttribute() 443 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute() 449 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation())); in rewritePropertyAttribute() 451 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc)); in rewritePropertyAttribute()
|
/openbsd/gnu/llvm/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 180 SourceLocation AttrLoc; member 190 SourceLocation AttrLoc; member
|
H A D | ubsan_handlers.cpp | 690 if (!Data->AttrLoc.isInvalid()) in handleNonNullReturn() 691 Diag(Data->AttrLoc, DL_Note, ET, "%0 specified here") in handleNonNullReturn() 737 if (!Data->AttrLoc.isInvalid()) in handleNonNullArg() 738 Diag(Data->AttrLoc, DL_Note, ET, "%0 specified here") in handleNonNullArg()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaType.cpp | 4583 S.Diag(AttrLoc, in DiagnoseMultipleAddrSpaceAttributes() 5310 SourceLocation AttrLoc; in GetFullTypeForDeclarator() local 5315 AttrLoc = AL.getLoc(); in GetFullTypeForDeclarator() 5320 if (AttrLoc.isInvalid()) { in GetFullTypeForDeclarator() 5323 AttrLoc = AL.getLoc(); in GetFullTypeForDeclarator() 5329 if (AttrLoc.isValid()) { in GetFullTypeForDeclarator() 5333 if (AttrLoc.isMacroID()) in GetFullTypeForDeclarator() 5334 AttrLoc = in GetFullTypeForDeclarator() 6855 if (AttrLoc.isMacroID()) in handleObjCOwnershipTypeAttr() 6856 AttrLoc = in handleObjCOwnershipTypeAttr() [all …]
|
H A D | SemaDeclAttr.cpp | 1684 SourceLocation AttrLoc = TmpAttr.getLocation(); in AddAssumeAlignedAttr() local 1718 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 1732 SourceLocation AttrLoc = CI.getLoc(); in AddAllocAlignAttr() local 4295 SourceLocation AttrLoc = CI.getLoc(); in AddAlignValueAttr() local 4361 SourceLocation AttrLoc = CI.getLoc(); in AddAlignedAttr() local 4654 SourceLocation AttrLoc = CI.getLoc(); in AddModeAttr() local 4731 Diag(AttrLoc, diag::err_mode_not_primitive); in AddModeAttr() 4734 Diag(AttrLoc, diag::err_mode_wrong_type); in AddModeAttr() 4737 Diag(AttrLoc, diag::err_mode_wrong_type); in AddModeAttr() 4740 Diag(AttrLoc, diag::err_mode_wrong_type); in AddModeAttr() [all …]
|
H A D | TreeTransform.h | 1359 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument 1362 return SemaRef.BuildAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
|
H A D | SemaDeclCXX.cpp | 6088 SourceLocation AttrLoc) in ReferenceDllExportedMembers() 6092 Ctx.PointOfInstantiation = AttrLoc; in ReferenceDllExportedMembers()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | AttributeCommonInfo.h | 83 AttributeCommonInfo(SourceLocation AttrLoc) in AttributeCommonInfo() argument 84 : AttrRange(AttrLoc), ScopeLoc(), AttrKind(0), SyntaxUsed(0), in AttributeCommonInfo()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | TypeLoc.h | 1711 SourceLocation AttrLoc; member 1724 return getLocalData()->AttrLoc; in getAttrNameLoc() 1727 getLocalData()->AttrLoc = loc; in setAttrNameLoc() 1861 SourceLocation AttrLoc; member 1873 SourceLocation getAttrNameLoc() const { return getLocalData()->AttrLoc; } in getAttrNameLoc() 1874 void setAttrNameLoc(SourceLocation loc) { getLocalData()->AttrLoc = loc; } in setAttrNameLoc()
|
H A D | ASTContext.h | 1486 SourceLocation AttrLoc, 1502 SourceLocation AttrLoc) const; 1516 SourceLocation AttrLoc) const; 1520 SourceLocation AttrLoc) const;
|
H A D | Stmt.h | 159 SourceLocation AttrLoc; in alignas() local 1902 AttributedStmtBits.AttrLoc = Loc; in AttributedStmt() 1909 AttributedStmtBits.AttrLoc = SourceLocation{}; in AttributedStmt() 1925 SourceLocation getAttrLoc() const { return AttributedStmtBits.AttrLoc; } in getAttrLoc()
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseDeclCXX.cpp | 4516 SourceLocation ScopeLoc, AttrLoc; in ParseCXX11AttributeSpecifierInternal() local 4520 AttrLoc, Sema::AttributeCompletion::Attribute, CommonScopeName); in ParseCXX11AttributeSpecifierInternal() 4528 ScopeLoc = AttrLoc; in ParseCXX11AttributeSpecifierInternal() 4531 AttrLoc, Sema::AttributeCompletion::Attribute, ScopeName); in ParseCXX11AttributeSpecifierInternal() 4551 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, Attrs, EndLoc, in ParseCXX11AttributeSpecifierInternal() 4557 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc, AttrLoc), in ParseCXX11AttributeSpecifierInternal()
|
H A D | ParseDecl.cpp | 480 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; in ParseAttributeArgsCommon() local 486 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 3745 SourceLocation AttrLoc; in EmitReturnValueCheck() local 3751 AttrLoc = RetNNAttr->getLocation(); in EmitReturnValueCheck() 3758 AttrLoc = FTL.getReturnLoc().findNullabilityLoc(); in EmitReturnValueCheck() 3779 llvm::Constant *StaticData[] = {EmitCheckSourceLocation(AttrLoc)}; in EmitReturnValueCheck() 4140 SourceLocation AttrLoc; in EmitNonNullArgCheck() local 4144 AttrLoc = NNAttr->getLocation(); in EmitNonNullArgCheck() 4148 AttrLoc = PVD->getTypeSourceInfo()->getTypeLoc().findNullabilityLoc(); in EmitNonNullArgCheck() 4156 EmitCheckSourceLocation(ArgLoc), EmitCheckSourceLocation(AttrLoc), in EmitNonNullArgCheck()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | ASTContext.cpp | 4075 SourceLocation AttrLoc, in getDependentVectorType() argument 4087 *this, VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4092 *this, VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4104 *this, VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4164 SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 4170 AttrLoc); in getDependentSizedExtVectorType() 4181 *this, vecType, CanonExtTy, SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 4236 *this, CanonElementTy, QualType(), RowExpr, ColumnExpr, AttrLoc); in getDependentSizedMatrixType() 4256 ColumnExpr, AttrLoc); in getDependentSizedMatrixType() 4279 QualType(), AddrSpaceExpr, AttrLoc); in getDependentAddressSpaceType() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | Sema.h | 2054 QualType BuildVectorType(QualType T, Expr *VecSize, SourceLocation AttrLoc); 2056 SourceLocation AttrLoc); 2058 SourceLocation AttrLoc); 2061 SourceLocation AttrLoc); 2065 SourceLocation AttrLoc);
|
/openbsd/gnu/llvm/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 215 S->AttributedStmtBits.AttrLoc = readSourceLocation(); in VisitAttributedStmt()
|