- Dec 13, 2008
-
-
Chris Lattner authored
llvm-svn: 60989
-
Sebastian Redl authored
llvm-svn: 60983
-
Sebastian Redl authored
llvm-svn: 60982
-
Sebastian Redl authored
stdlib.h is the wrong header for printf, and introduces test-breaking definitions of inlines on Linux llvm-svn: 60981
-
Cedric Venet authored
This allow to use the new move emulation for smart pointer by disabling language extension. llvm-svn: 60979
-
- Dec 12, 2008
-
-
Ted Kremenek authored
PTH: Added minor 'sibling jumping' optimization for iterating over the side table used for fast preprocessor block skipping. This has a minor performance improvement when preprocessing Cocoa.h, but can have some wins in pathologic cases. llvm-svn: 60966
-
-
-
Daniel Dunbar authored
working with and without debug info). llvm-svn: 60960
-
Daniel Dunbar authored
Only use major part of OS version when on darwin and modifying OS part of target triple. llvm-svn: 60957
-
Ted Kremenek authored
Added PTH optimization to not process entire blocks of tokens that appear in skipped preprocessor blocks. This improves PTH speed by 6%. The code for this optimization itself is not very optimized, and will get cleaned up. llvm-svn: 60956
-
Ted Kremenek authored
llvm-svn: 60955
-
Chris Lattner authored
processing: it allows arbitrary foldable constants as the operand of ?: when builtin_constant_p is the condition. llvm-svn: 60954
-
Douglas Gregor authored
llvm-svn: 60947
-
Anders Carlsson authored
llvm-svn: 60943
-
-
Chris Lattner authored
llvm-svn: 60941
-
Douglas Gregor authored
llvm-svn: 60940
-
Anders Carlsson authored
llvm-svn: 60939
-
Chris Lattner authored
move comment into assert message. llvm-svn: 60938
-
Chris Lattner authored
llvm-svn: 60937
-
Chris Lattner authored
llvm-svn: 60936
-
Chris Lattner authored
llvm-svn: 60935
-
-
Chris Lattner authored
llvm-svn: 60933
-
Chris Lattner authored
llvm-svn: 60932
-
Chris Lattner authored
llvm-svn: 60931
-
Chris Lattner authored
llvm-svn: 60930
-
Chris Lattner authored
Substantially improve error recovery after broken if conditions by parsing the full if when we have a semantic error instead of using parser recovery techniques to recover from a semantic error. This fixes rdar://6094870 - spurious error after invalid 'if' condition llvm-svn: 60929
-
Chris Lattner authored
llvm-svn: 60928
-
Chris Lattner authored
llvm-svn: 60927
-
Chris Lattner authored
llvm-svn: 60926
-
Anders Carlsson authored
Work in preparation for VLAs. Make sure to restore the stack if necessary (Saving the stack isn't implemented right now :) llvm-svn: 60925
-
-
Chris Lattner authored
and this makes sense. likely a gcc bug that it doesn't diagnose the bad restrict. llvm-svn: 60923
-
Chris Lattner authored
output that GCC does. rdar://6440297 llvm-svn: 60922
-
rdar://6097892Chris Lattner authored
fix rdar://6097892 - gcc incompat: clang rejects __func__, __FUNCTION__, and __PRETTY_FUNCTION__ outside func Yeah, this is "useful". llvm-svn: 60921
-
-
Douglas Gregor authored
the type of the enumeration once the enumeration has been defined. Fix the overloading test-case to properly create enums that promote the way we want them to. Implement C++0x promotions from enumeration types to long long/unsigned long long. We're using these promotions in Carbon.h (since long long is a common extension). Fixes PR clang/2954: http://llvm.org/bugs/show_bug.cgi?id=2954 llvm-svn: 60917
-
Ted Kremenek authored
- Added a side-table per each token-cached file with the preprocessor conditional stack. This tracks what #if's are matched with what #endifs and where their respective tokens are in the PTH file. This will allow for quick skipping of excluded conditional branches in the Preprocessor. - Performance testing shows the addition of this information (without actually utilizing it) leads to no performance regressions. llvm-svn: 60911
-