Update a stale comment; NFC

This function doesn't return anything these days.
This commit is contained in:
Aaron Ballman 2022-11-01 10:46:20 -04:00
parent 27f6091bb0
commit 0933b8c72c
1 changed files with 2 additions and 3 deletions

View File

@ -1117,9 +1117,8 @@ void DeclSpec::SaveWrittenBuiltinSpecs() {
}
/// Finish - This does final analysis of the declspec, rejecting things like
/// "_Imaginary" (lacking an FP type). This returns a diagnostic to issue or
/// diag::NUM_DIAGNOSTICS if there is no error. After calling this method,
/// DeclSpec is guaranteed self-consistent, even if an error occurred.
/// "_Imaginary" (lacking an FP type). After calling this method, DeclSpec is
/// guaranteed to be self-consistent, even if an error occurred.
void DeclSpec::Finish(Sema &S, const PrintingPolicy &Policy) {
// Before possibly changing their values, save specs as written.
SaveWrittenBuiltinSpecs();