/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 424 SourceLocation AttrLoc; in rewritePropertyAttribute() local 438 AttrLoc = tok.getLocation(); in rewritePropertyAttribute() 443 if (AttrLoc.isValid() && AfterTok.is(tok::unknown)) in rewritePropertyAttribute() 448 if (AttrLoc.isInvalid()) in rewritePropertyAttribute() 453 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute() 459 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation())); in rewritePropertyAttribute() 461 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc)); in rewritePropertyAttribute()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.h | 128 SourceLocation AttrLoc; member 136 SourceLocation AttrLoc; member
|
D | ubsan_handlers.cc | 386 if (!Data->AttrLoc.isInvalid()) in handleNonNullReturn() 387 Diag(Data->AttrLoc, DL_Note, "returns_nonnull attribute specified here"); in handleNonNullReturn() 410 if (!Data->AttrLoc.isInvalid()) in handleNonNullArg() 411 Diag(Data->AttrLoc, DL_Note, "nonnull attribute specified here"); in handleNonNullArg()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 1728 SourceLocation AttrLoc) { in BuildExtVectorType() argument 1733 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T; in BuildExtVectorType() 1740 Diag(AttrLoc, diag::err_attribute_argument_type) in BuildExtVectorType() 1751 Diag(AttrLoc, diag::err_attribute_zero_size) in BuildExtVectorType() 1757 Diag(AttrLoc, diag::err_attribute_size_too_large) in BuildExtVectorType() 1765 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc); in BuildExtVectorType() 2850 SourceLocation AttrLoc; in GetFullTypeForDeclarator() local 2856 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() 2861 if (AttrLoc.isInvalid()) { in GetFullTypeForDeclarator() 2866 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() [all …]
|
D | SemaDeclAttr.cpp | 1269 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAssumeAlignedAttr() local 1272 Diag(AttrLoc, diag::warn_attribute_return_pointers_refs_only) in AddAssumeAlignedAttr() 1281 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 1285 Diag(AttrLoc, diag::err_attribute_argument_type) in AddAssumeAlignedAttr() 1292 Diag(AttrLoc, diag::err_alignment_not_power_of_two) in AddAssumeAlignedAttr() 1302 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 2830 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignValueAttr() local 2842 Diag(AttrLoc, diag::warn_attribute_pointer_or_reference_only) in AddAlignValueAttr() 2857 Diag(AttrLoc, diag::err_alignment_not_power_of_two) in AddAlignValueAttr() 2914 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignedAttr() local [all …]
|
D | SemaStmt.cpp | 473 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() argument 477 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt); in ActOnAttributedStmt()
|
D | TreeTransform.h | 1133 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument 1136 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 3673 SourceLocation ScopeLoc, AttrLoc; in ParseCXX11AttributeSpecifier() local 3676 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3684 ScopeLoc = AttrLoc; in ParseCXX11AttributeSpecifier() 3686 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3698 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second) in ParseCXX11AttributeSpecifier() 3699 Diag(AttrLoc, diag::err_cxx11_attribute_repeated) in ParseCXX11AttributeSpecifier() 3704 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc, in ParseCXX11AttributeSpecifier() 3709 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc, in ParseCXX11AttributeSpecifier() 3710 AttrLoc), in ParseCXX11AttributeSpecifier()
|
D | ParseDecl.cpp | 320 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; in ParseAttributeArgsCommon() local 321 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 687 SourceLocation AttrLoc; member 726 return getLocalData()->AttrLoc; in getAttrNameLoc() 729 getLocalData()->AttrLoc = loc; in setAttrNameLoc()
|
D | Stmt.h | 830 SourceLocation AttrLoc; variable 836 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc), in AttributedStmt() 857 SourceLocation getAttrLoc() const { return AttrLoc; } in getAttrLoc() 864 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; } in getLocStart()
|
D | ASTContext.h | 1070 SourceLocation AttrLoc) const;
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 2824 SourceLocation AttrLoc) const { in getDependentSizedExtVectorType() 2838 SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 2844 AttrLoc); in getDependentSizedExtVectorType() 2855 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc); in getDependentSizedExtVectorType()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1139 SourceLocation AttrLoc); 3083 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 181 S->AttrLoc = ReadSourceLocation(Record, Idx); in VisitAttributedStmt()
|