diff options
author | John McCall <rjmccall@apple.com> | 2012-01-05 00:13:19 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-01-05 00:13:19 +0000 |
commit | 73076431605556fdbf28d287d084a73a24a8b8d4 (patch) | |
tree | a3f64984f2c867b5ce2829cc31e50d3cf0563186 /include | |
parent | c634f50c5cc892b899659c1743d696766c82afcd (diff) |
The value of a const weak variable is not an integer constant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Sema/Initialization.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Sema/Initialization.h b/include/clang/Sema/Initialization.h index 6d21bc406f..f919eb2946 100644 --- a/include/clang/Sema/Initialization.h +++ b/include/clang/Sema/Initialization.h @@ -651,6 +651,8 @@ public: FK_DefaultInitOfConst, /// \brief Initialization of an incomplete type. FK_Incomplete, + /// \brief Variable-length array must not have an initializer. + FK_VariableLengthArrayHasInitializer, /// \brief List initialization failed at some point. FK_ListInitializationFailed, /// \brief Initializer has a placeholder type which cannot be |