diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2022-11-01 10:46:20 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2022-11-01 10:47:30 -0400 |
commit | 0933b8c72c52dd7f11c6af5f86ce8af01cb194be (patch) | |
tree | afaebcf5e5333ef9cd1dcd3d89fb4192975b471a /clang/lib/Sema/DeclSpec.cpp | |
parent | 27f6091bb025972e4255bccb74afcc0ebf3ef90e (diff) | |
download | llvm-0933b8c72c52dd7f11c6af5f86ce8af01cb194be.zip llvm-0933b8c72c52dd7f11c6af5f86ce8af01cb194be.tar.gz llvm-0933b8c72c52dd7f11c6af5f86ce8af01cb194be.tar.bz2 |
Update a stale comment; NFC
This function doesn't return anything these days.
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
-rw-r--r-- | clang/lib/Sema/DeclSpec.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp index dc6a1ef..d59778b 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(); |