diff options
author | Bruno Ricci <riccibrun@gmail.com> | 2018-12-04 16:04:19 +0000 |
---|---|---|
committer | Bruno Ricci <riccibrun@gmail.com> | 2018-12-04 16:04:19 +0000 |
commit | 65034b8698851e22d03b2c4f51fe12df957a5279 (patch) | |
tree | 6fc754c1f1bcb8cda236c461957abe665c9e8b50 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | e82c3dab12dd81362459d86ad824850e92a3d8ac (diff) | |
download | llvm-65034b8698851e22d03b2c4f51fe12df957a5279.zip llvm-65034b8698851e22d03b2c4f51fe12df957a5279.tar.gz llvm-65034b8698851e22d03b2c4f51fe12df957a5279.tar.bz2 |
[AST] Assert that no statement/expression class is polymorphic
Add a static_assert checking that no statement/expression class
is polymorphic. People should use LLVM style RTTI instead.
Differential Revision: https://reviews.llvm.org/D55222
Reviewed By: aaron.ballman
llvm-svn: 348278
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions