diff options
author | Daniel Jasper <djasper@google.com> | 2013-08-01 17:58:23 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-08-01 17:58:23 +0000 |
commit | 8b1c63543b427c7b6e149a99fc2516db5f5b3e0e (patch) | |
tree | 4efea3b06f1cc764b63aaa7906fbd86267b1b9e0 /libcxx/src/exception.cpp | |
parent | 3a39a98669df6c9ab0d47246f70781ab0b9d27ae (diff) | |
download | bcm5719-llvm-8b1c63543b427c7b6e149a99fc2516db5f5b3e0e.tar.gz bcm5719-llvm-8b1c63543b427c7b6e149a99fc2516db5f5b3e0e.zip |
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).
llvm-svn: 187589
Diffstat (limited to 'libcxx/src/exception.cpp')
0 files changed, 0 insertions, 0 deletions