/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 | 2160 SourceLocation AttrLoc) { in BuildExtVectorType() argument 2165 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T; in BuildExtVectorType() 2172 Diag(AttrLoc, diag::err_attribute_argument_type) in BuildExtVectorType() 2183 Diag(AttrLoc, diag::err_attribute_zero_size) in BuildExtVectorType() 2189 Diag(AttrLoc, diag::err_attribute_size_too_large) in BuildExtVectorType() 2197 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc); in BuildExtVectorType() 3834 SourceLocation AttrLoc; in GetFullTypeForDeclarator() local 3840 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() 3845 if (AttrLoc.isInvalid()) { in GetFullTypeForDeclarator() 3850 AttrLoc = Attr->getLoc(); in GetFullTypeForDeclarator() [all …]
|
D | SemaDeclAttr.cpp | 1303 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAssumeAlignedAttr() local 1306 Diag(AttrLoc, diag::warn_attribute_return_pointers_refs_only) in AddAssumeAlignedAttr() 1315 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 1319 Diag(AttrLoc, diag::err_attribute_argument_type) in AddAssumeAlignedAttr() 1326 Diag(AttrLoc, diag::err_alignment_not_power_of_two) in AddAssumeAlignedAttr() 1336 Diag(AttrLoc, diag::err_attribute_argument_n_type) in AddAssumeAlignedAttr() 3031 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignValueAttr() local 3043 Diag(AttrLoc, diag::warn_attribute_pointer_or_reference_only) in AddAlignValueAttr() 3058 Diag(AttrLoc, diag::err_alignment_not_power_of_two) in AddAlignValueAttr() 3115 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignedAttr() local [all …]
|
D | SemaStmt.cpp | 483 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt() argument 487 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt); in ActOnAttributedStmt()
|
D | TreeTransform.h | 1154 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt() argument 1157 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 3751 SourceLocation ScopeLoc, AttrLoc; in ParseCXX11AttributeSpecifier() local 3754 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3762 ScopeLoc = AttrLoc; in ParseCXX11AttributeSpecifier() 3764 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc); in ParseCXX11AttributeSpecifier() 3776 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second) in ParseCXX11AttributeSpecifier() 3777 Diag(AttrLoc, diag::err_cxx11_attribute_repeated) in ParseCXX11AttributeSpecifier() 3782 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc, in ParseCXX11AttributeSpecifier() 3787 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc, in ParseCXX11AttributeSpecifier() 3788 AttrLoc), in ParseCXX11AttributeSpecifier()
|
D | ParseDecl.cpp | 321 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; in ParseAttributeArgsCommon() local 322 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 | 820 SourceLocation AttrLoc; variable 826 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc), in AttributedStmt() 849 SourceLocation getAttrLoc() const { return AttrLoc; } in getAttrLoc() 856 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; } in getLocStart()
|
D | ASTContext.h | 1170 SourceLocation AttrLoc) const;
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 2938 SourceLocation AttrLoc) const { in getDependentSizedExtVectorType() 2952 SizeExpr, AttrLoc); in getDependentSizedExtVectorType() 2958 AttrLoc); in getDependentSizedExtVectorType() 2969 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc); in getDependentSizedExtVectorType()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1229 SourceLocation AttrLoc); 3312 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 181 S->AttrLoc = ReadSourceLocation(Record, Idx); in VisitAttributedStmt()
|