summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-01-06 22:52:53 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-01-06 22:52:53 +0000
commite5945871cfb954d80cbeb9c99a26f02b41decae6 (patch)
tree20598a89710fa1f1c7f89b98a972933153da7d49 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent1fb895e890b095e9b155239d28ec21340aa538de (diff)
downloadbcm5719-llvm-e5945871cfb954d80cbeb9c99a26f02b41decae6.tar.gz
bcm5719-llvm-e5945871cfb954d80cbeb9c99a26f02b41decae6.zip
Revisit PR10177: don't instantiate a variable if it's only referenced in a
dependent context and can't be used in a constant expression. Per C++ [temp.inst]p2, "the instantiation of a static data member does not occur unless the static data member is used in a way that requires the definition to exist". This doesn't /quite/ match that, as we still instantiate static data members that are usable in constant expressions even if the use doesn't require a definition. A followup patch will fix that for both variables and functions. llvm-svn: 291295
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud