Sema::PragmaStack::Act is a template function the definition of which is currently put in SemaAttr.cpp file. Without explicit instantiation, that definition may or may not be generated by compiler depending on inlining so linker may run into the problem of undefined reference when
other module refers to the definition.
The patch moves the definition to header file.