Searched defs:AttrLoc (Results 1 - 10 of 10) sorted by relevance

/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h136 SourceLocation AttrLoc; member in struct:__ubsan::NonNullReturnData
144 SourceLocation AttrLoc; member in struct:__ubsan::NonNullArgData
/external/clang/lib/ARCMigrate/
H A DTransforms.cpp420 SourceLocation AttrLoc; local
434 AttrLoc = tok.getLocation();
439 if (AttrLoc.isValid() && AfterTok.is(tok::unknown))
444 if (AttrLoc.isInvalid())
449 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
455 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation()));
457 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc));
/external/clang/include/clang/AST/
H A DTypeLoc.h720 SourceLocation AttrLoc; member in struct:clang::AttributedLocInfo
763 return getLocalData()->AttrLoc;
766 getLocalData()->AttrLoc = loc;
H A DStmt.h832 SourceLocation AttrLoc; member in class:clang::AttributedStmt
838 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
861 SourceLocation getAttrLoc() const { return AttrLoc; }
868 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; }
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp3798 SourceLocation ScopeLoc, AttrLoc; local
3801 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3809 ScopeLoc = AttrLoc;
3811 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3833 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second)
3834 Diag(AttrLoc, diag::err_cxx11_attribute_repeated)
3839 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3844 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc,
3845 AttrLoc),
H A DParseDecl.cpp322 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; local
323 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc,
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp1323 SourceLocation AttrLoc = AttrRange.getBegin(); local
1326 Diag(AttrLoc, diag::warn_attribute_return_pointers_refs_only)
1335 Diag(AttrLoc, diag::err_attribute_argument_n_type)
1339 Diag(AttrLoc, diag::err_attribute_argument_type)
1346 Diag(AttrLoc, diag::err_alignment_not_power_of_two)
1356 Diag(AttrLoc, diag::err_attribute_argument_n_type)
3104 SourceLocation AttrLoc = AttrRange.getBegin(); local
3116 Diag(AttrLoc, diag::warn_attribute_pointer_or_reference_only)
3131 Diag(AttrLoc, diag::err_alignment_not_power_of_two)
3187 SourceLocation AttrLoc local
3443 SourceLocation AttrLoc = AttrRange.getBegin(); local
[all...]
H A DSemaStmt.cpp484 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, argument
488 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt);
H A DSemaType.cpp2286 SourceLocation AttrLoc) {
2297 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
2304 Diag(AttrLoc, diag::err_attribute_argument_type)
2315 Diag(AttrLoc, diag::err_attribute_zero_size)
2321 Diag(AttrLoc, diag::err_attribute_size_too_large)
2329 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
4102 SourceLocation AttrLoc; local
4108 AttrLoc = Attr->getLoc();
4113 if (AttrLoc.isInvalid()) {
4118 AttrLoc
2285 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
5396 SourceLocation AttrLoc = attr.getLoc(); local
[all...]
H A DTreeTransform.h1166 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, argument
1169 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);

Completed in 1023 milliseconds