/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 420 SourceLocation AttrLoc; in rewritePropertyAttribute() local 435 AttrLoc = tok.getLocation(); in rewritePropertyAttribute() 440 if (AttrLoc.isValid() && AfterTok.is(tok::unknown)) in rewritePropertyAttribute() 445 if (AttrLoc.isInvalid()) in rewritePropertyAttribute() 450 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute() 456 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation())); in rewritePropertyAttribute() 458 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc)); in rewritePropertyAttribute()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 1621 SourceLocation AttrLoc) { in BuildExtVectorType() argument 1626 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T; in BuildExtVectorType() 1633 Diag(AttrLoc, diag::err_attribute_argument_type) in BuildExtVectorType() 1644 Diag(AttrLoc, diag::err_attribute_zero_size) in BuildExtVectorType() 1650 Diag(AttrLoc, diag::err_attribute_size_too_large) in BuildExtVectorType() 1658 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc); in BuildExtVectorType() 2741 SourceLocation AttrLoc; in GetFullTypeForDeclarator() local 2747 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() 2752 if (AttrLoc.isInvalid()) { in GetFullTypeForDeclarator() 2757 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() [all …]
|
D | SemaDeclAttr.cpp | 240 SourceLocation AttrLoc, in checkFunctionOrMethodArgumentIndex() argument 259 S.Diag(AttrLoc, diag::err_attribute_argument_n_type) << Name.c_str() in checkFunctionOrMethodArgumentIndex() 266 S.Diag(AttrLoc, diag::err_attribute_argument_out_of_bounds) in checkFunctionOrMethodArgumentIndex() 273 S.Diag(AttrLoc, in checkFunctionOrMethodArgumentIndex() 3369 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignedAttr() local 3396 Diag(AttrLoc, diag::err_attribute_wrong_decl_type) in AddAlignedAttr() 3403 Diag(AttrLoc, diag::err_alignas_attribute_wrong_decl_type) in AddAlignedAttr() 3433 Diag(AttrLoc, diag::err_attribute_aligned_not_power_of_two) in AddAlignedAttr() 3442 Diag(AttrLoc, diag::err_attribute_aligned_greater_than_8192) in AddAlignedAttr()
|
D | SemaStmt.cpp | 423 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() argument 427 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt); in ActOnAttributedStmt()
|
D | TreeTransform.h | 1083 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument 1086 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 3192 SourceLocation ScopeLoc, AttrLoc; in ParseCXX11AttributeSpecifier() local 3195 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3205 ScopeLoc = AttrLoc; in ParseCXX11AttributeSpecifier() 3207 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3219 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second) in ParseCXX11AttributeSpecifier() 3220 Diag(AttrLoc, diag::err_cxx11_attribute_repeated) in ParseCXX11AttributeSpecifier() 3226 ParseGNUAttributeArgs(AttrName, AttrLoc, attrs, endLoc, in ParseCXX11AttributeSpecifier() 3242 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc, in ParseCXX11AttributeSpecifier() 3243 AttrLoc), in ParseCXX11AttributeSpecifier()
|
D | ParseDecl.cpp | 322 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; in ParseGNUAttributeArgs() local 324 Attrs.addNewTypeAttr(AttrName, SourceRange(AttrLoc, RParen), ScopeName, in ParseGNUAttributeArgs() 328 AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, ParmName, in ParseGNUAttributeArgs()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 684 SourceLocation AttrLoc; member 723 return getLocalData()->AttrLoc; in getAttrNameLoc() 726 getLocalData()->AttrLoc = loc; in setAttrNameLoc()
|
D | Stmt.h | 801 SourceLocation AttrLoc; variable 808 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc), in AttributedStmt() 824 SourceLocation getAttrLoc() const { return AttrLoc; } in getAttrLoc() 831 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; } in getLocStart()
|
D | ASTContext.h | 999 SourceLocation AttrLoc) const;
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 2696 SourceLocation AttrLoc) const { in getDependentSizedExtVectorType() 2710 SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 2716 AttrLoc); in getDependentSizedExtVectorType() 2727 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc); in getDependentSizedExtVectorType()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1022 SourceLocation AttrLoc); 2818 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 181 S->AttrLoc = ReadSourceLocation(Record, Idx); in VisitAttributedStmt()
|