[all-commits] [llvm/llvm-project] fbb30c: [clang] Add 'override' to virtual function overrid...
kepler-5 via All-commits
all-commits at lists.llvm.org
Tue Jul 14 09:38:59 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fbb30c31fefcf992ddb287087e8ca766eeddb59d
https://github.com/llvm/llvm-project/commit/fbb30c31fefcf992ddb287087e8ca766eeddb59d
Author: Logan Smith <logan.r.smith0 at gmail.com>
Date: 2020-07-14 (Tue, 14 Jul 2020)
Changed paths:
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[clang] Add 'override' to virtual function overrides generated by ClangAttrEmitter
ClangAttrEmitter.cpp generates ParsedAttr derived classes with virtual overrides in them (which end up in AttrParsedAttrImpl.inc); this patch ensures these generated functions are marked override, and not (redundantly) virtual.
I hesitate to say NFC since this does of course affect the behavior of the generator code, but the generated code behaves the same as it did before, so it's NFC in that sense.
Differential Revision: https://reviews.llvm.org/D83616
More information about the All-commits
mailing list