According to the OpenMP spec, all the preprocessor macros should be expanded in OpenMP pragmas. This patch adds support for that.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Refactor to use UnknownPragmaHandler for OpenMP as well. Move regression test to test/Preprocessor.
Comment Actions
One minor tweak, then this LGTM, thanks!
lib/Frontend/PrintPreprocessedOutput.cpp | ||
---|---|---|
566 | bool? And there's no point including a bit-field here; there aren't many of these objects, and no other bitfields are being packed into the same storage anyway. |
Comment Actions
Committed in r239784.
Thanks!
Samuel
lib/Frontend/PrintPreprocessedOutput.cpp | ||
---|---|---|
566 | Ok, I replaced that by a boolean. |
bool? And there's no point including a bit-field here; there aren't many of these objects, and no other bitfields are being packed into the same storage anyway.