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

/external/clang/lib/ARCMigrate/
H A DTransforms.cpp410 SourceLocation AttrLoc; local
425 AttrLoc = tok.getLocation();
430 if (AttrLoc.isValid() && AfterTok.is(tok::unknown))
435 if (AttrLoc.isInvalid())
440 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
446 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation()));
448 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc));
/external/clang/lib/Sema/
H A DSemaType.cpp1427 SourceLocation AttrLoc) {
1432 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
1439 Diag(AttrLoc, diag::err_attribute_argument_not_int)
1449 Diag(AttrLoc, diag::err_attribute_zero_size)
1457 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
3509 SourceLocation AttrLoc = attr.getLoc(); local
3510 if (AttrLoc.isMacroID())
3511 AttrLoc = S.getSourceManager().getImmediateExpansionRange(AttrLoc).first;
3514 S.Diag(AttrLoc, dia
1426 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
[all...]
H A DSemaDeclAttr.cpp230 SourceLocation AttrLoc,
246 S.Diag(AttrLoc, diag::err_attribute_argument_n_not_int)
253 S.Diag(AttrLoc, diag::err_attribute_argument_out_of_bounds)
260 S.Diag(AttrLoc,
3154 SourceLocation AttrLoc = AttrRange.getBegin(); local
3164 Diag(AttrLoc, diag::err_attribute_aligned_not_power_of_two)
3172 Diag(AttrLoc, diag::err_attribute_aligned_greater_than_8192)
228 checkFunctionOrMethodArgumentIndex(Sema &S, const Decl *D, StringRef AttrName, SourceLocation AttrLoc, unsigned AttrArgNum, const Expr *IdxExpr, uint64_t &Idx) argument
H A DSemaStmt.cpp379 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, argument
383 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt);
H A DTreeTransform.h1056 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, argument
1059 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp2912 SourceLocation ScopeLoc, AttrLoc; local
2915 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
2925 ScopeLoc = AttrLoc;
2927 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
2951 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc,
2952 AttrLoc),
/external/clang/include/clang/AST/
H A DTypeLoc.h630 SourceLocation AttrLoc; member in struct:clang::AttributedLocInfo
669 return getLocalData()->AttrLoc;
672 getLocalData()->AttrLoc = loc;
H A DStmt.h802 SourceLocation AttrLoc; member in class:clang::AttributedStmt
809 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
825 SourceLocation getAttrLoc() const { return AttrLoc; }
833 return SourceRange(AttrLoc, SubStmt->getLocEnd());
H A DASTContext.h911 SourceLocation AttrLoc) const;
/external/llvm/lib/AsmParser/
H A DLLParser.cpp921 LocTy AttrLoc = Lex.getLoc();
927 return Error(AttrLoc, "invalid use of function-only attribute");
933 return Error(AttrLoc, "invalid use of attribute on a function");
936 return Error(AttrLoc, "invalid use of parameter-only attribute");
/external/clang/lib/AST/
H A DASTContext.cpp2409 SourceLocation AttrLoc) const {
2423 SizeExpr, AttrLoc);
2429 AttrLoc);
2440 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc);
/external/clang/include/clang/Sema/
H A DSema.h866 SourceLocation AttrLoc);
2509 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp173 S->AttrLoc = ReadSourceLocation(Record, Idx);

Completed in 377 milliseconds