This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
5035fbf91c
llvm-project
/
clang
/
test
/
SemaObjC
/
cocoa.m
6 lines
98 B
Mathematica
Raw
Normal View
History
Unescape
Escape
Improve handling of (X86) target features. - This is a WIP... - This adds -march= handling to the driver, and fixes the defaulting of -mcpu on Darwin (which was using the wrong test). Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as -target-feature [+-]name In clang-cc, communicate with the (clang) target to discover the legal features of a target, and the features which are enabled based on -mcpu. This is currently hardcoded just enough to not be a feature regression, we need to get this information from the backend's TableGen information somehow. This is used to construct the full list of features which are being used, which is in turn used to initialize the predefines. llvm-svn: 71061
2009-05-06 11:16:41 +08:00
//
RUN
:
clang
-
cc
-
mcpu
=
pentium4
%
s
-
print
-
stats
Test that cocoa parses with -parse-noop. In the future (when ready) this test should change to test -fsyntax-only. llvm-svn: 41307
2007-08-23 09:08:54 +08:00
#
ifdef
__APPLE
__
#
include
<
Cocoa
/
Cocoa
.
h
>
#
endif