[clang] 0933b8c - Update a stale comment; NFC
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 1 07:47:39 PDT 2022
Author: Aaron Ballman
Date: 2022-11-01T10:47:30-04:00
New Revision: 0933b8c72c52dd7f11c6af5f86ce8af01cb194be
URL: https://github.com/llvm/llvm-project/commit/0933b8c72c52dd7f11c6af5f86ce8af01cb194be
DIFF: https://github.com/llvm/llvm-project/commit/0933b8c72c52dd7f11c6af5f86ce8af01cb194be.diff
LOG: Update a stale comment; NFC
This function doesn't return anything these days.
Added:
Modified:
clang/lib/Sema/DeclSpec.cpp
Removed:
################################################################################
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp
index dc6a1efdbf746..d59778b5b614b 100644
--- a/clang/lib/Sema/DeclSpec.cpp
+++ b/clang/lib/Sema/DeclSpec.cpp
@@ -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();
More information about the cfe-commits
mailing list