commit | 5931331d4b99c8c602fa3ab6c82b94adb7e5552f | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Sep 19 13:40:40 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Sep 19 13:40:40 2012 +0000 |
tree | a9c31082dd63a03b506a96d09fc57a80d5ecd099 | |
parent | 9b5ede58c32e779a777e828ea0bff29fb3d27bd4 [diff] |
ASTWriter: Tighten up assertions when emitting a declaration name. clang has recently started to warn about the enum compares: lib/Serialization/ASTWriter.cpp:2760:31: warning: comparison of literal 256 with expression of type 'clang::DeclarationName::NameKind' is always true [-Wtautological-constant-out-of-range-compare] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164220 91177308-0d34-0410-b5e6-96231b3b80d8