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

/freebsd-11.0-release/contrib/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h136 SourceLocation AttrLoc; member in struct:__ubsan::NonNullReturnData
144 SourceLocation AttrLoc; member in struct:__ubsan::NonNullArgData
H A Dubsan_handlers.cc485 if (!Data->AttrLoc.isInvalid())
486 Diag(Data->AttrLoc, DL_Note, "returns_nonnull attribute specified here");
511 if (!Data->AttrLoc.isInvalid())
512 Diag(Data->AttrLoc, DL_Note, "nonnull attribute specified here");
/freebsd-11.0-release/contrib/llvm/tools/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));
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp2186 SourceLocation AttrLoc) {
2191 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
2198 Diag(AttrLoc, diag::err_attribute_argument_type)
2209 Diag(AttrLoc, diag::err_attribute_zero_size)
2215 Diag(AttrLoc, diag::err_attribute_size_too_large)
2223 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
3867 SourceLocation AttrLoc; local
3873 AttrLoc = Attr->getLoc();
3878 if (AttrLoc.isInvalid()) {
3883 AttrLoc
2185 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
5148 SourceLocation AttrLoc = attr.getLoc(); local
[all...]
H A DSemaDeclAttr.cpp1322 SourceLocation AttrLoc = AttrRange.getBegin(); local
1325 Diag(AttrLoc, diag::warn_attribute_return_pointers_refs_only)
1334 Diag(AttrLoc, diag::err_attribute_argument_n_type)
1338 Diag(AttrLoc, diag::err_attribute_argument_type)
1345 Diag(AttrLoc, diag::err_alignment_not_power_of_two)
1355 Diag(AttrLoc, diag::err_attribute_argument_n_type)
3032 SourceLocation AttrLoc = AttrRange.getBegin(); local
3044 Diag(AttrLoc, diag::warn_attribute_pointer_or_reference_only)
3059 Diag(AttrLoc, diag::err_alignment_not_power_of_two)
3116 SourceLocation AttrLoc local
[all...]
H A DSemaStmt.cpp483 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, argument
487 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt);
H A DTreeTransform.h1157 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, argument
1160 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp3752 SourceLocation ScopeLoc, AttrLoc; local
3755 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3763 ScopeLoc = AttrLoc;
3765 AttrName = TryParseCXX11AttributeIdentifier(AttrLoc);
3777 !SeenAttrs.insert(std::make_pair(AttrName, AttrLoc)).second)
3778 Diag(AttrLoc, diag::err_cxx11_attribute_repeated)
3783 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3788 SourceRange(ScopeLoc.isValid() ? ScopeLoc : AttrLoc,
3789 AttrLoc),
H A DParseDecl.cpp321 SourceLocation AttrLoc = ScopeLoc.isValid() ? ScopeLoc : AttrNameLoc; local
322 Attrs.addNew(AttrName, SourceRange(AttrLoc, RParen), ScopeName, ScopeLoc,
/freebsd-11.0-release/contrib/llvm/tools/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.h820 SourceLocation AttrLoc; member in class:clang::AttributedStmt
826 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
849 SourceLocation getAttrLoc() const { return AttrLoc; }
856 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; }
H A DASTContext.h1175 SourceLocation AttrLoc) const;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp2955 SourceLocation AttrLoc) const {
2969 SizeExpr, AttrLoc);
2975 AttrLoc);
2986 DependentSizedExtVectorType(*this, vecType, Canon, SizeExpr, AttrLoc);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp182 S->AttrLoc = ReadSourceLocation(Record, Idx);
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h1229 SourceLocation AttrLoc);
3316 StmtResult ActOnAttributedStmt(SourceLocation AttrLoc,

Completed in 338 milliseconds