/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 | 1600 SourceLocation AttrLoc) { in BuildExtVectorType() argument 1605 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T; in BuildExtVectorType() 1612 Diag(AttrLoc, diag::err_attribute_argument_not_int) in BuildExtVectorType() 1622 Diag(AttrLoc, diag::err_attribute_zero_size) in BuildExtVectorType() 1630 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc); in BuildExtVectorType() 2545 SourceLocation AttrLoc; in GetFullTypeForDeclarator() local 2551 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() 2556 if (AttrLoc.isInvalid()) { in GetFullTypeForDeclarator() 2561 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() 2567 if (AttrLoc.isValid()) { in GetFullTypeForDeclarator() [all …]
|
D | SemaDeclAttr.cpp | 238 SourceLocation AttrLoc, in checkFunctionOrMethodArgumentIndex() argument 254 S.Diag(AttrLoc, diag::err_attribute_argument_n_not_int) in checkFunctionOrMethodArgumentIndex() 261 S.Diag(AttrLoc, diag::err_attribute_argument_out_of_bounds) in checkFunctionOrMethodArgumentIndex() 268 S.Diag(AttrLoc, in checkFunctionOrMethodArgumentIndex() 3415 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignedAttr() local 3442 Diag(AttrLoc, diag::err_attribute_wrong_decl_type) in AddAlignedAttr() 3449 Diag(AttrLoc, diag::err_alignas_attribute_wrong_decl_type) in AddAlignedAttr() 3479 Diag(AttrLoc, diag::err_attribute_aligned_not_power_of_two) in AddAlignedAttr() 3488 Diag(AttrLoc, diag::err_attribute_aligned_greater_than_8192) in AddAlignedAttr()
|
D | SemaStmt.cpp | 409 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() argument 413 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt); in ActOnAttributedStmt()
|
D | TreeTransform.h | 1065 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument 1068 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 3112 SourceLocation ScopeLoc, AttrLoc; in ParseCXX11AttributeSpecifier() local 3115 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3125 ScopeLoc = AttrLoc; in ParseCXX11AttributeSpecifier() 3127 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3139 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second) in ParseCXX11AttributeSpecifier() 3140 Diag(AttrLoc, diag::err_cxx11_attribute_repeated) in ParseCXX11AttributeSpecifier() 3146 ParseGNUAttributeArgs(AttrName, AttrLoc, attrs, endLoc, in ParseCXX11AttributeSpecifier() 3162 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc, in ParseCXX11AttributeSpecifier() 3163 AttrLoc), in ParseCXX11AttributeSpecifier()
|
D | ParseDecl.cpp | 311 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; in ParseGNUAttributeArgs() local 313 Attrs.addNewTypeAttr(AttrName, SourceRange(AttrLoc, RParen), ScopeName, in ParseGNUAttributeArgs() 317 AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, ParmName, in ParseGNUAttributeArgs()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 647 SourceLocation AttrLoc; member 686 return getLocalData()->AttrLoc; in getAttrNameLoc() 689 getLocalData()->AttrLoc = loc; in setAttrNameLoc()
|
D | Stmt.h | 808 SourceLocation AttrLoc; variable 815 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc), in AttributedStmt() 831 SourceLocation getAttrLoc() const { return AttrLoc; } in getAttrLoc() 838 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; } in getLocStart()
|
D | ASTContext.h | 985 SourceLocation AttrLoc) const;
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 2557 SourceLocation AttrLoc) const { in getDependentSizedExtVectorType() 2571 SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 2577 AttrLoc); in getDependentSizedExtVectorType() 2588 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc); in getDependentSizedExtVectorType()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 171 S->AttrLoc = ReadSourceLocation(Record, Idx); in VisitAttributedStmt()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 948 SourceLocation AttrLoc); 2681 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
|