summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/pragma-optimize.c
Commit message (Collapse)AuthorAgeFilesLines
* [TEST] Improve tests for #pragma clang optimize off/onDario Domizioli2014-07-281-0/+6
| | | | | | | | Added coverage for: * More than one "off region" in the same file * An "off region" falling off the end of an included file llvm-svn: 214086
* Implemented support for "pragma clang optimize on/off", based on attribute ↵Dario Domizioli2014-05-231-0/+27
'optnone'. This patch implements support for selectively disabling optimizations on a range of function definitions through a pragma. The implementation is that all function definitions in the range are decorated with attribute 'optnone'. #pragma clang optimize off // All function definitions in here are decorated with 'optnone'. #pragma clang optimize on // Compilation resumes as normal. llvm-svn: 209510
OpenPOWER on IntegriCloud