commit | b7000ca629da16164f0073f5a7f9459ddf5ba281 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Thu Aug 01 17:58:23 2013 +0000 |
committer | Daniel Jasper <djasper@google.com> | Thu Aug 01 17:58:23 2013 +0000 |
tree | b7c5643db0cfb56ef3c4ed880be3478b8929d830 | |
parent | 05c06c069a748cfe97259fec6b8e54028ba7aadf [diff] |
Teach clang-format to understand static_asserts better. Before: template <bool B, bool C> class A { static_assert(B &&C, "Something is wrong"); }; After: template <bool B, bool C> class A { static_assert(B && C, "Something is wrong"); }; (Note the spacing around '&&'). Also change the identifier table to always understand all C++11 keywords (which seems like the right thing to do). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187589 91177308-0d34-0410-b5e6-96231b3b80d8