Home
last modified time | relevance | path

Searched refs:AttrLoc (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransforms.cpp420 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/
DSemaType.cpp1621 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 …]
DSemaDeclAttr.cpp240 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()
DSemaStmt.cpp423 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() argument
427 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt); in ActOnAttributedStmt()
DTreeTransform.h1083 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument
1086 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
/external/clang/lib/Parse/
DParseDeclCXX.cpp3192 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()
DParseDecl.cpp322 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/
DTypeLoc.h684 SourceLocation AttrLoc; member
723 return getLocalData()->AttrLoc; in getAttrNameLoc()
726 getLocalData()->AttrLoc = loc; in setAttrNameLoc()
DStmt.h801 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()
DASTContext.h999 SourceLocation AttrLoc) const;
/external/clang/lib/AST/
DASTContext.cpp2696 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/
DSema.h1022 SourceLocation AttrLoc);
2818 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp181 S->AttrLoc = ReadSourceLocation(Record, Idx); in VisitAttributedStmt()