| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 52963
|
| |
|
|
| |
llvm-svn: 52957
|
| |
|
|
| |
llvm-svn: 52956
|
| |
|
|
|
|
| |
behavior.
llvm-svn: 52940
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) add a new ASTContext::getFloatTypeSemantics method.
2) Use it from SemaExpr.cpp, CodeGenTypes.cpp and other places.
3) Change the TargetInfo.h get*Format methods to return their
fltSemantics byref instead of by pointer.
4) Change CodeGenFunction::EmitBuiltinExpr to allow builtins which
sometimes expand specially and othertimes fall back to libm.
5) Add support for __builtin_nan("") to codegen, cases that don't pass
in an empty string are currently lowered to libm calls.
6) Fix codegen of __builtin_infl.
llvm-svn: 52914
|
| |
|
|
|
|
|
| |
now this does the same thing as "MayEscape", but more functionality will go in
here shortly.
llvm-svn: 52904
|
| |
|
|
|
|
| |
rejected FP immediates like 08.123
llvm-svn: 52890
|
| |
|
|
| |
llvm-svn: 52889
|
| |
|
|
| |
llvm-svn: 52881
|
| |
|
|
|
|
| |
static functions instead of methods on sema.
llvm-svn: 52880
|
| |
|
|
|
|
|
| |
anyway, so there is no real loss here. Start making attribute processing
methods static functions instead of methods on Sema.
llvm-svn: 52879
|
| |
|
|
| |
llvm-svn: 52878
|
| |
|
|
| |
llvm-svn: 52877
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
decl attributes out of the various places they can hide. This makes
us correctly reject things like this:
t.c:2:22: error: mode attribute only supported for integer and floating-point types
int **__attribute((mode(HI)))* i32;
^
because you can't make a pointer be HImode.
llvm-svn: 52876
|
| |
|
|
|
|
| |
the implementation of ProcessDeclAttributes.
llvm-svn: 52875
|
| |
|
|
| |
llvm-svn: 52874
|
| |
|
|
| |
llvm-svn: 52873
|
| |
|
|
|
|
|
|
| |
to work list the rest of the attr handlers. Also, rename
it to HandleVectorSizeAttribute to match its attr name.
No functionality change.
llvm-svn: 52872
|
| |
|
|
|
|
|
|
|
|
|
| |
the single attribute they look at by reference instead of by pointer.
This is a subtle indicator that they take the specified attribute, not
a whole list of them.
This also make HandleExtVectorTypeAttribute work the same way as the rest
of the attributes, adds some comments etc. No functionality change.
llvm-svn: 52871
|
| |
|
|
| |
llvm-svn: 52855
|
| |
|
|
|
|
|
|
| |
integers which have the same width and different signedness work
correctly. (The testcase in PR2501 uses a comparison between long and
unsigned int).
llvm-svn: 52853
|
| |
|
|
|
|
| |
and getCurMethodDecl() that return the appropriate Decl through CurContext.
llvm-svn: 52852
|
| |
|
|
|
|
| |
double in some places.
llvm-svn: 52846
|
| |
|
|
|
|
| |
SemaDeclAttr, and do some cleanups.
llvm-svn: 52844
|
| |
|
|
|
|
|
| |
Add new file to Sema Project for VS.
this unbreak the build for VS2005 (with the associated patch on llvm).
llvm-svn: 52830
|
| |
|
|
|
|
| |
CFCreateNumber.
llvm-svn: 52799
|
| |
|
|
| |
llvm-svn: 52792
|
| |
|
|
|
|
|
| |
Additionally, define __clang__ so clients can predicate based on
clang features.
llvm-svn: 52788
|
| |
|
|
|
|
| |
cases where mutation can introduce bugs. Propagate around 'const'.
llvm-svn: 52772
|
| |
|
|
| |
llvm-svn: 52771
|
| |
|
|
|
|
|
|
|
|
| |
used to mutate the attribute list for declspecs when the type was
converted, breaking the case where one declspec was shared by multiple
declarators.
This fixes rdar://6032532.
llvm-svn: 52769
|
| |
|
|
|
|
| |
we don't push strings into LLVM IR and then have to read them back out.
llvm-svn: 52765
|
| |
|
|
| |
llvm-svn: 52764
|
| |
|
|
|
|
| |
string to LLVM IR and then regenerating the string from IR.
llvm-svn: 52762
|
| |
|
|
|
|
| |
calls to getStringValue
llvm-svn: 52761
|
| |
|
|
|
|
| |
selectors instead of Value*'s.
llvm-svn: 52760
|
| |
|
|
| |
llvm-svn: 52759
|
| |
|
|
| |
llvm-svn: 52758
|
| |
|
|
| |
llvm-svn: 52757
|
| |
|
|
|
|
|
| |
instead of passing in just a couple random things it currently
happens to use.
llvm-svn: 52756
|
| |
|
|
| |
llvm-svn: 52755
|
| |
|
|
|
|
| |
changes in llvm mainline.
llvm-svn: 52753
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tracked objects now have their type information tracked with them.
Enhanced summaries for ObjC methods to include the type information of the receiver.
Used the enhanced summaries to support the idiom that NSWindow owns itself (it sends a release message to itself upon close).
Added some comments.
Did some cleanups with the checker logic using operator overloading (reduced redundant code which I was concerned about being the source of bugs).
llvm-svn: 52741
|
| |
|
|
|
|
| |
instead of CurFunctionDecl.
llvm-svn: 52719
|
| |
|
|
| |
llvm-svn: 52707
|
| |
|
|
| |
llvm-svn: 52698
|
| |
|
|
|
|
| |
be an assert; suggestion by Chris.
llvm-svn: 52696
|
| |
|
|
|
|
|
| |
Note that Parser::ParseCXXMemberSpecification is temporarily disabled until the Sema support is in place.
Once ParseCXXMemberSpecification is enabled, the Parser/cxx-class.cpp test will pass.
llvm-svn: 52694
|
| |
|
|
|
|
|
|
| |
includes a small fix for constant string handling that should have been in the last patch (sorry!) and a hook for generating selectors (rest of this implementation to follow in the next patch)."
Patch by David Chisnall!
llvm-svn: 52681
|
| |
|
|
|
|
|
|
| |
incorrectly generated. The bug was caused by my inability to read the GNU libobjc source and is only apparent when JITing code (static compilation does not expose the bug due to the data layout of other globals)."
Patch by David Chisnall!
llvm-svn: 52680
|