Searched refs:CorrectLocation (Results 1 – 2 of 2) sorted by relevance
1875 SourceLocation CorrectLocation) { in DiagnoseMisplacedCXX11Attribute() argument1888 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseMisplacedCXX11Attribute()1893 const ParsedAttributesView &Attrs, const SourceLocation CorrectLocation) { in DiagnoseProhibitedAttributes() argument1895 if (CorrectLocation.isValid()) { in DiagnoseProhibitedAttributes()1898 ? Diag(CorrectLocation, diag::err_keyword_misplaced) << FirstAttr in DiagnoseProhibitedAttributes()1899 : Diag(CorrectLocation, diag::err_attributes_misplaced)) in DiagnoseProhibitedAttributes()1900 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseProhibitedAttributes()
2820 SourceLocation CorrectLocation) { in CheckMisplacedCXX11Attribute() argument2825 DiagnoseMisplacedCXX11Attribute(Attrs, CorrectLocation); in CheckMisplacedCXX11Attribute()2828 SourceLocation CorrectLocation);