/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 420 SourceLocation AttrLoc; in rewritePropertyAttribute() local 434 AttrLoc = tok.getLocation(); in rewritePropertyAttribute() 439 if (AttrLoc.isValid() && AfterTok.is(tok::unknown)) in rewritePropertyAttribute() 444 if (AttrLoc.isInvalid()) in rewritePropertyAttribute() 449 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute() 455 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation())); in rewritePropertyAttribute() 457 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc)); in rewritePropertyAttribute()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.h | 136 SourceLocation AttrLoc; member 144 SourceLocation AttrLoc; member
|
D | ubsan_handlers.cc | 485 if (!Data->AttrLoc.isInvalid()) in handleNonNullReturn() 486 Diag(Data->AttrLoc, DL_Note, "returns_nonnull attribute specified here"); in handleNonNullReturn() 511 if (!Data->AttrLoc.isInvalid()) in handleNonNullArg() 512 Diag(Data->AttrLoc, DL_Note, "nonnull attribute specified here"); in handleNonNullArg()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 2286 SourceLocation AttrLoc) { in BuildExtVectorType() argument 2297 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T; in BuildExtVectorType() 2304 Diag(AttrLoc, diag::err_attribute_argument_type) in BuildExtVectorType() 2315 Diag(AttrLoc, diag::err_attribute_zero_size) in BuildExtVectorType() 2321 Diag(AttrLoc, diag::err_attribute_size_too_large) in BuildExtVectorType() 2329 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc); in BuildExtVectorType() 4102 SourceLocation AttrLoc; in GetFullTypeForDeclarator() local 4108 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() 4113 if (AttrLoc.isInvalid()) { in GetFullTypeForDeclarator() 4118 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() [all …]
|
D | SemaDeclAttr.cpp | 1323 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAssumeAlignedAttr() local 1326 Diag(AttrLoc, diag::warn_attribute_return_pointers_refs_only) in AddAssumeAlignedAttr() 1335 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 1339 Diag(AttrLoc, diag::err_attribute_argument_type) in AddAssumeAlignedAttr() 1346 Diag(AttrLoc, diag::err_alignment_not_power_of_two) in AddAssumeAlignedAttr() 1356 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 3104 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignValueAttr() local 3116 Diag(AttrLoc, diag::warn_attribute_pointer_or_reference_only) in AddAlignValueAttr() 3131 Diag(AttrLoc, diag::err_alignment_not_power_of_two) in AddAlignValueAttr() 3187 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignedAttr() local [all …]
|
D | SemaStmt.cpp | 484 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() argument 488 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt); in ActOnAttributedStmt()
|
D | TreeTransform.h | 1166 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument 1169 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 3798 SourceLocation ScopeLoc, AttrLoc; in ParseCXX11AttributeSpecifier() local 3801 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3809 ScopeLoc = AttrLoc; in ParseCXX11AttributeSpecifier() 3811 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3833 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second) in ParseCXX11AttributeSpecifier() 3834 Diag(AttrLoc, diag::err_cxx11_attribute_repeated) in ParseCXX11AttributeSpecifier() 3839 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc, in ParseCXX11AttributeSpecifier() 3844 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc, in ParseCXX11AttributeSpecifier() 3845 AttrLoc), in ParseCXX11AttributeSpecifier()
|
D | ParseDecl.cpp | 322 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; in ParseAttributeArgsCommon() local 323 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, in ParseAttributeArgsCommon()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 720 SourceLocation AttrLoc; member 763 return getLocalData()->AttrLoc; in getAttrNameLoc() 766 getLocalData()->AttrLoc = loc; in setAttrNameLoc()
|
D | Stmt.h | 832 SourceLocation AttrLoc; variable 838 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc), in AttributedStmt() 861 SourceLocation getAttrLoc() const { return AttrLoc; } in getAttrLoc() 868 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; } in getLocStart()
|
D | ASTContext.h | 1183 SourceLocation AttrLoc) const;
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 2948 SourceLocation AttrLoc) const { in getDependentSizedExtVectorType() 2962 SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 2968 AttrLoc); in getDependentSizedExtVectorType() 2979 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc); in getDependentSizedExtVectorType()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1249 SourceLocation AttrLoc); 3394 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 182 S->AttrLoc = ReadSourceLocation(Record, Idx); in VisitAttributedStmt()
|