summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/explicit-build-flags.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace Sema-level implementation of -fassume-sane-operator-new with aRichard Smith2016-04-071-0/+3
| | | | | | | | | | | | | | CodeGen-level implementation. Instead of adding an attribute to clang's FunctionDecl, add the IR attribute directly. This means a module built with this flag is now compatible with code built without it and vice versa. This change also results in the 'noalias' attribute no longer being added to calls to operator new in the IR; it's now only added to the declaration. It also fixes a bug where we failed to add the attribute to the 'nothrow' versions (because we didn't implicitly declare them, there was no good time to inject a fake attribute). llvm-svn: 265728
* [modules] Allow differences in flags that only affect preprocessor predefinesRichard Smith2016-04-071-2/+14
| | | | | | | (and __has_feature checks) between explicitly-specified module files and the current compilation. llvm-svn: 265718
* clang/test/Modules: Remove "REQUIRES:shell" since they work for me.NAKAMURA Takumi2014-11-041-2/+0
| | | | llvm-svn: 221261
* [modules] When a .pcm file is explicitly built separately from the translationRichard Smith2014-10-311-0/+7
| | | | | | unit, allow the -O settings of the two compilations to differ. llvm-svn: 220943
* Extend test to check that -D flags do not leak across module boundaries.Richard Smith2014-10-281-3/+20
| | | | llvm-svn: 220782
* [modules] Allow -I, -D, -W flags to change between building a module andRichard Smith2014-10-281-0/+27
explicitly using the resulting .pcm file. Unlike for an implicit module build, we don't need nor want to require these flags to match between the module and its users. llvm-svn: 220780
OpenPOWER on IntegriCloud