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

/external/clang/lib/ARCMigrate/
H A DTransforms.cpp424 SourceLocation AttrLoc; local
438 AttrLoc = tok.getLocation();
443 if (AttrLoc.isValid() && AfterTok.is(tok::unknown))
448 if (AttrLoc.isInvalid())
453 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
459 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation()));
461 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc));
/external/clang/lib/Sema/
H A DSemaType.cpp1701 SourceLocation AttrLoc) {
1706 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
1713 Diag(AttrLoc, diag::err_attribute_argument_type)
1724 Diag(AttrLoc, diag::err_attribute_zero_size)
1730 Diag(AttrLoc, diag::err_attribute_size_too_large)
1738 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
2799 SourceLocation AttrLoc; local
2805 AttrLoc = Attr->getLoc();
2810 if (AttrLoc.isInvalid()) {
2815 AttrLoc
1700 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
4049 SourceLocation AttrLoc = attr.getLoc(); local
[all...]
H A DSemaDeclAttr.cpp2723 SourceLocation AttrLoc = AttrRange.getBegin(); local
2750 Diag(AttrLoc, diag::err_attribute_wrong_decl_type) << &TmpAttr
2756 Diag(AttrLoc, diag::err_alignas_attribute_wrong_decl_type)
2786 Diag(AttrLoc, diag::err_attribute_aligned_not_power_of_two)
2794 Diag(AttrLoc, diag::err_attribute_aligned_too_great) << MaxValidAlignment
H A DSemaStmt.cpp433 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, argument
437 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt);
H A DTreeTransform.h1106 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, argument
1109 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
/external/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.h820 SourceLocation AttrLoc; member in class:clang::AttributedStmt
826 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
847 SourceLocation getAttrLoc() const { return AttrLoc; }
854 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; }
H A DASTContext.h1046 SourceLocation AttrLoc) const;
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp3330 SourceLocation ScopeLoc, AttrLoc; local
3333 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3341 ScopeLoc = AttrLoc;
3343 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3355 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second)
3356 Diag(AttrLoc, diag::err_cxx11_attribute_repeated)
3361 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3366 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc,
3367 AttrLoc),
H A DParseDecl.cpp314 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; local
315 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc,
/external/clang/lib/AST/
H A DASTContext.cpp2744 SourceLocation AttrLoc) const {
2758 SizeExpr, AttrLoc);
2764 AttrLoc);
2775 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc);
/external/clang/include/clang/Sema/
H A DSema.h1121 SourceLocation AttrLoc);
3016 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp181 S->AttrLoc = ReadSourceLocation(Record, Idx);

Completed in 1285 milliseconds