commit | ed38176964187cb99f3b9a2b5eef9f9e79c71124 | [log] [tgz] |
---|---|---|
author | Alexey Bataev <a.bataev@hotmail.com> | Wed Apr 26 15:06:24 2017 |
committer | Alexey Bataev <a.bataev@hotmail.com> | Wed Apr 26 15:06:24 2017 |
tree | 6eb0f06be786c5d8f0951185187a34454902a781 | |
parent | 9bdffb9899360b2598c110ebfcdc685f76c3ac50 [diff] |
[OPENMP] Fix handling of OpenMP code during template instantiation. If some function template is instantiated during handling of OpenMP code, currently it may cause crash of compiler because of trying of capturing variables in non-capturing function scopes. Patch fixes this bug. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301416 91177308-0d34-0410-b5e6-96231b3b80d8