diff options
author | Erich Keane <erich.keane@intel.com> | 2019-08-28 20:59:25 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2019-08-28 20:59:25 +0000 |
commit | 856f3fe5bbd6a6b204a4a293efdeba8d25fb1814 (patch) | |
tree | 5628fed2f4cc7a8568fb4df767c805a87f8e527b /clang/lib/Serialization/ModuleManager.cpp | |
parent | a1178b862a8aa3fa8ba0ea48ab6aea2dd4d76587 (diff) | |
download | llvm-856f3fe5bbd6a6b204a4a293efdeba8d25fb1814.zip llvm-856f3fe5bbd6a6b204a4a293efdeba8d25fb1814.tar.gz llvm-856f3fe5bbd6a6b204a4a293efdeba8d25fb1814.tar.bz2 |
Fix always_inline 'target' compatibility check code for Lambdas
The previous version of this used CurFuncDecl in CodeGenFunction,
however this doesn't include lambdas. However, CurCodeDecl DOES. Switch
the check to use CurCodeDecl so that the actual function being emitted
gets checked, preventing an error in ISEL.
llvm-svn: 370261
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions