std_align_t fix (#475)

This commit is contained in:
Jon Haslam 2024-02-05 13:10:43 +00:00 committed by GitHub
parent 2e8edd78b5
commit af7800e661
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -499,6 +499,7 @@ bool OICompiler::compile(const std::string& code,
compInv->getLangOpts()->Exceptions = true; compInv->getLangOpts()->Exceptions = true;
compInv->getLangOpts()->CXXExceptions = true; compInv->getLangOpts()->CXXExceptions = true;
compInv->getLangOpts()->Coroutines = true; compInv->getLangOpts()->Coroutines = true;
compInv->getLangOpts()->AlignedAllocation = true;
compInv->getPreprocessorOpts(); compInv->getPreprocessorOpts();
compInv->getPreprocessorOpts().addRemappedFile( compInv->getPreprocessorOpts().addRemappedFile(