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

/external/clang/lib/ARCMigrate/
H A DTransforms.cpp359 SourceLocation AttrLoc; local
374 AttrLoc = tok.getLocation();
379 if (AttrLoc.isValid() && AfterTok.is(tok::unknown))
384 if (AttrLoc.isInvalid())
389 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
395 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation()));
397 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc));
/external/clang/lib/Sema/
H A DSemaType.cpp1410 SourceLocation AttrLoc) {
1415 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
1422 Diag(AttrLoc, diag::err_attribute_argument_not_int)
1432 Diag(AttrLoc, diag::err_attribute_zero_size)
1440 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
3343 SourceLocation AttrLoc = attr.getLoc(); local
3344 if (AttrLoc.isMacroID())
3345 AttrLoc = S.getSourceManager().getImmediateExpansionRange(AttrLoc).first;
3348 S.Diag(AttrLoc, dia
1409 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
[all...]
H A DSemaStmt.cpp363 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, argument
369 AttributedStmt *LS = new (Context) AttributedStmt(AttrLoc, Attrs, SubStmt);
H A DSemaDeclAttr.cpp2623 SourceLocation AttrLoc = AttrRange.getBegin(); local
2633 Diag(AttrLoc, diag::err_attribute_aligned_not_power_of_two)
H A DTreeTransform.h1056 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, const AttrVec &Attrs, argument
1058 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp2913 SourceLocation ScopeLoc, AttrLoc; local
2916 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
2926 ScopeLoc = AttrLoc;
2928 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
2950 attrs.addNew(AttrName, AttrLoc, 0, AttrLoc, 0,
/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.h805 SourceLocation AttrLoc; member in class:clang::AttributedStmt
814 : Stmt(AttributedStmtClass), SubStmt(substmt), AttrLoc(loc), Attrs(attrs) {
822 SourceLocation getAttrLoc() const { return AttrLoc; }
828 return SourceRange(AttrLoc, SubStmt->getLocEnd());
H A DASTContext.h773 SourceLocation AttrLoc) const;
/external/clang/lib/Analysis/
H A DThreadSafety.cpp1512 SourceLocation AttrLoc = Attr->getLocation(); local
1520 AttrLoc);
1528 AttrLoc);
/external/llvm/lib/AsmParser/
H A DLLParser.cpp879 LocTy AttrLoc = Lex.getLoc();
885 return Error(AttrLoc, "invalid use of function-only attribute");
891 return Error(AttrLoc, "invalid use of attribute on a function");
894 return Error(AttrLoc, "invalid use of parameter-only attribute");
/external/clang/lib/AST/
H A DASTContext.cpp2052 SourceLocation AttrLoc) const {
2066 SizeExpr, AttrLoc);
2072 AttrLoc);
2083 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc);
/external/clang/include/clang/Sema/
H A DSema.h897 SourceLocation AttrLoc);
2277 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc, const AttrVec &Attrs,
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp168 S->AttrLoc = ReadSourceLocation(Record, Idx);

Completed in 210 milliseconds