Move Sema::PragmaStack<ValueType>::Act into Sema.h so it can be instantiated as needed
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 30 Jun 2020 01:02:12 +0000 (18:02 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 30 Jun 2020 01:02:12 +0000 (18:02 -0700)
commit31c689e69404bb8208de9599626f60c77b6fa81d
tree7fa8358e13791e1146d519a3237e247abc3ad938
parent3819789be6b83ac7af619b8279a0c480f9bffeeb
Move Sema::PragmaStack<ValueType>::Act into Sema.h so it can be instantiated as needed

Found by linker failures in ThinLTO where the definition wasn't
available when it needed to be. (eg: ThinLTO may've eliminated the one
caller in the same TU and dropped the definition - breaking accidental
implicit depenednce on that definition from elsewhere)
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaAttr.cpp