aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-08-28 20:59:25 +0000
committerErich Keane <erich.keane@intel.com>2019-08-28 20:59:25 +0000
commit856f3fe5bbd6a6b204a4a293efdeba8d25fb1814 (patch)
tree5628fed2f4cc7a8568fb4df767c805a87f8e527b /clang/lib/Serialization/ModuleManager.cpp
parenta1178b862a8aa3fa8ba0ea48ab6aea2dd4d76587 (diff)
downloadllvm-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