Home
last modified time | relevance | path

Searched refs:CorrectLocation (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h2624 SourceLocation CorrectLocation) { in CheckMisplacedCXX11Attribute() argument
2630 DiagnoseMisplacedCXX11Attribute(Attrs, CorrectLocation); in CheckMisplacedCXX11Attribute()
2633 SourceLocation CorrectLocation);
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDecl.cpp1645 SourceLocation CorrectLocation) { in DiagnoseMisplacedCXX11Attribute() argument
1655 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseMisplacedCXX11Attribute()
1660 const SourceRange &Range, const SourceLocation CorrectLocation) { in DiagnoseProhibitedAttributes() argument
1661 if (CorrectLocation.isValid()) { in DiagnoseProhibitedAttributes()
1663 Diag(CorrectLocation, diag::err_attributes_misplaced) in DiagnoseProhibitedAttributes()
1664 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseProhibitedAttributes()