summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/ast-main.c
Commit message (Collapse)AuthorAgeFilesLines
* [darwin] parse the SDK settings from SDKSettings.json if it exists andAlex Lorenz2018-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | pass in the -target-sdk-version to the compiler and backend This commit adds support for reading the SDKSettings.json file in the Darwin driver. This file is used by the driver to determine the SDK's version, and it uses that information to pass it down to the compiler using the new -target-sdk-version= option. This option is then used to set the appropriate SDK Version module metadata introduced in r349119. Note: I had to adjust the two ast tests as the SDKROOT environment variable on macOS caused SDK version to be picked up for the compilation of source file but not the AST. rdar://45774000 Differential Revision: https://reviews.llvm.org/D55673 llvm-svn: 349380
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-151-3/+3
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-3/+3
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Update PCH serialization of FunctionDecl flags.Daniel Dunbar2009-09-221-3/+2
| | | | llvm-svn: 82526
* Add an XFAIL test which compiles differently from a .ast.Daniel Dunbar2009-09-211-0/+9
llvm-svn: 82437
OpenPOWER on IntegriCloud