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

/external/clang/lib/ARCMigrate/
H A DTransforms.cpp420 SourceLocation AttrLoc; local
435 AttrLoc = tok.getLocation();
440 if (AttrLoc.isValid() && AfterTok.is(tok::unknown))
445 if (AttrLoc.isInvalid())
450 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
456 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation()));
458 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc));
/external/clang/lib/Sema/
H A DSemaType.cpp1621 SourceLocation AttrLoc) {
1626 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
1633 Diag(AttrLoc, diag::err_attribute_argument_type)
1644 Diag(AttrLoc, diag::err_attribute_zero_size)
1650 Diag(AttrLoc, diag::err_attribute_size_too_large)
1658 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
2741 SourceLocation AttrLoc; local
2747 AttrLoc = Attr->getLoc();
2752 if (AttrLoc.isInvalid()) {
2757 AttrLoc
1620 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
3943 SourceLocation AttrLoc = attr.getLoc(); local
[all...]
H A DSemaDeclAttr.cpp240 SourceLocation AttrLoc,
259 S.Diag(AttrLoc, diag::err_attribute_argument_n_type) << Name.c_str()
266 S.Diag(AttrLoc, diag::err_attribute_argument_out_of_bounds)
273 S.Diag(AttrLoc,
3369 SourceLocation AttrLoc = AttrRange.getBegin(); local
3396 Diag(AttrLoc, diag::err_attribute_wrong_decl_type)
3403 Diag(AttrLoc, diag::err_alignas_attribute_wrong_decl_type)
3433 Diag(AttrLoc, diag::err_attribute_aligned_not_power_of_two)
3442 Diag(AttrLoc, diag::err_attribute_aligned_greater_than_8192)
238 checkFunctionOrMethodArgumentIndex(Sema &S, const Decl *D, StringRef AttrName, SourceLocation AttrLoc, unsigned AttrArgNum, const Expr *IdxExpr, uint64_t &Idx) argument
H A DSemaStmt.cpp423 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, argument
427 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt);
H A DTreeTransform.h1083 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, argument
1086 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp3192 SourceLocation ScopeLoc, AttrLoc; local
3195 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3205 ScopeLoc = AttrLoc;
3207 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3219 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second)
3220 Diag(AttrLoc, diag::err_cxx11_attribute_repeated)
3226 ParseGNUAttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3242 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc,
3243 AttrLoc),
H A DParseDecl.cpp322 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; local
324 Attrs.addNewTypeAttr(AttrName, SourceRange(AttrLoc, RParen), ScopeName,
328 AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc, ParmName,
/external/clang/include/clang/AST/
H A DTypeLoc.h684 SourceLocation AttrLoc; member in struct:clang::AttributedLocInfo
723 return getLocalData()->AttrLoc;
726 getLocalData()->AttrLoc = loc;
H A DStmt.h801 SourceLocation AttrLoc; member in class:clang::AttributedStmt
808 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
824 SourceLocation getAttrLoc() const { return AttrLoc; }
831 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; }
H A DASTContext.h999 SourceLocation AttrLoc) const;
/external/clang/lib/AST/
H A DASTContext.cpp2696 SourceLocation AttrLoc) const {
2710 SizeExpr, AttrLoc);
2716 AttrLoc);
2727 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc);
/external/clang/include/clang/Sema/
H A DSema.h1022 SourceLocation AttrLoc);
2818 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp181 S->AttrLoc = ReadSourceLocation(Record, Idx);

Completed in 279 milliseconds