Skip to content

Commit 0933b8c

Browse files
committed
Update a stale comment; NFC
This function doesn't return anything these days.
1 parent 27f6091 commit 0933b8c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Sema/DeclSpec.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,8 @@ void DeclSpec::SaveWrittenBuiltinSpecs() {
11171117
}
11181118

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

0 commit comments

Comments
 (0)