diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-06-24 05:59:13 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-06-24 05:59:13 +0000 |
| commit | 99ea974909aecf110b60b2d273f7cec97ebc0f11 (patch) | |
| tree | 1bb2efd3945e6b353633a2fd4ab6105a73e9f21c /lib/Basic/VirtualFileSystem.cpp | |
| parent | b5db1b77d8fa80c507665d4c5c3217b0e972d3ed (diff) | |
| download | clang-99ea974909aecf110b60b2d273f7cec97ebc0f11.tar.gz clang-99ea974909aecf110b60b2d273f7cec97ebc0f11.tar.bz2 clang-99ea974909aecf110b60b2d273f7cec97ebc0f11.tar.xz | |
AST: Address of dllimport variables isn't constant
The address of dllimport variables isn't something that can be
meaningfully used in a constexpr context and isn't suitable for
evaluation at load-time. They require loads from memory to properly
evaluate.
This fixes PR19955.
Differential Revision: http://reviews.llvm.org/D4250
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions
