summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/task_private_codegen.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2015-07-14 10:02:10 +0000
committerSerge Pavlov <sepavloff@gmail.com>2015-07-14 10:02:10 +0000
commitd9c0bcfd2844035a20806fc3959ef51dc018b879 (patch)
tree9d940fd0453c11e2b3db123a837be928e59e7fbd /clang/test/OpenMP/task_private_codegen.cpp
parentb2c7c9fce4d576ac6df8a87728597df93901fd25 (diff)
downloadbcm5719-llvm-d9c0bcfd2844035a20806fc3959ef51dc018b879.tar.gz
bcm5719-llvm-d9c0bcfd2844035a20806fc3959ef51dc018b879.zip
Classes inside lambdas are local not nested.
If a lambda used as default argument in a method declaration contained a local class, that class was incorrectly recognized as nested class. In this case compiler tried to postpone parsing of this class until the enclosing class is finished, which caused crashes in some cases. This change fixes PR13987. Differential Revision: http://reviews.llvm.org/D11006 llvm-svn: 242132
Diffstat (limited to 'clang/test/OpenMP/task_private_codegen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud