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

/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransforms.cpp426 SourceLocation AttrLoc; local
441 AttrLoc = tok.getLocation();
446 if (AttrLoc.isValid() && AfterTok.is(tok::unknown))
451 if (AttrLoc.isInvalid())
456 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
462 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation()));
464 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp1649 SourceLocation AttrLoc) {
1654 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
1661 Diag(AttrLoc, diag::err_attribute_argument_type)
1672 Diag(AttrLoc, diag::err_attribute_zero_size)
1678 Diag(AttrLoc, diag::err_attribute_size_too_large)
1686 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
2829 SourceLocation AttrLoc; local
2835 AttrLoc = Attr->getLoc();
2840 if (AttrLoc.isInvalid()) {
2845 AttrLoc
1648 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
4042 SourceLocation AttrLoc = attr.getLoc(); local
[all...]
H A DSemaDeclAttr.cpp249 SourceLocation AttrLoc,
268 S.Diag(AttrLoc, diag::err_attribute_argument_n_type) << Name.c_str()
275 S.Diag(AttrLoc, diag::err_attribute_argument_out_of_bounds)
282 S.Diag(AttrLoc,
3356 SourceLocation AttrLoc = AttrRange.getBegin(); local
3383 Diag(AttrLoc, diag::err_attribute_wrong_decl_type)
3390 Diag(AttrLoc, diag::err_alignas_attribute_wrong_decl_type)
3420 Diag(AttrLoc, diag::err_attribute_aligned_not_power_of_two)
3429 Diag(AttrLoc, diag::err_attribute_aligned_greater_than_8192)
247 checkFunctionOrMethodArgumentIndex(Sema &S, const Decl *D, StringRef AttrName, SourceLocation AttrLoc, unsigned AttrArgNum, const Expr *IdxExpr, uint64_t &Idx) argument
H A DSemaStmt.cpp420 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, argument
424 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt);
H A DTreeTransform.h1099 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, argument
1102 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeLoc.h687 SourceLocation AttrLoc; member in struct:clang::AttributedLocInfo
726 return getLocalData()->AttrLoc;
729 getLocalData()->AttrLoc = loc;
H A DStmt.h803 SourceLocation AttrLoc; member in class:clang::AttributedStmt
810 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
826 SourceLocation getAttrLoc() const { return AttrLoc; }
833 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; }
H A DASTContext.h1027 SourceLocation AttrLoc) const;
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp3259 SourceLocation ScopeLoc, AttrLoc; local
3262 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3272 ScopeLoc = AttrLoc;
3274 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3286 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second)
3287 Diag(AttrLoc, diag::err_cxx11_attribute_repeated)
3293 ParseGNUAttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3309 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc,
3310 AttrLoc),
H A DParseDecl.cpp322 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; local
323 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc,
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp2720 SourceLocation AttrLoc) const {
2734 SizeExpr, AttrLoc);
2740 AttrLoc);
2751 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h1032 SourceLocation AttrLoc);
2890 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp181 S->AttrLoc = ReadSourceLocation(Record, Idx);

Completed in 462 milliseconds