| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
build of libtidy
llvm-svn: 53145
|
| |
|
|
|
|
| |
'integer constant is so large that it is unsigned' warning for hex literals.
llvm-svn: 53070
|
| |
|
|
|
|
| |
rejected FP immediates like 08.123
llvm-svn: 52890
|
| |
|
|
| |
llvm-svn: 52889
|
| |
|
|
|
|
|
| |
Additionally, define __clang__ so clients can predicate based on
clang features.
llvm-svn: 52788
|
| |
|
|
| |
llvm-svn: 51843
|
| |
|
|
|
|
|
|
| |
__CFConstantStringClassReference[];" should be extern "C".
Have clang predefine OBJC_NEW_PROPERTIES (which is what gcc does).
llvm-svn: 51163
|
| |
|
|
|
|
| |
when targeting the new, Apple 2.0 *runtime ABI*. It is not intended to be used to #ifdef ObjC 2.0 langauge features. This is unfortunate (given it's name). In a perfect world, this defined would be named __OBJC2_RUNTIME_ABI__. Oh well.
llvm-svn: 50913
|
| |
|
|
|
|
|
| |
__VA_ARGS__ syntax as well as with the amazingly awesome GNU "named
variadic macro" extension. Allow it with the GNU syntax as well.
llvm-svn: 50843
|
| |
|
|
| |
llvm-svn: 50666
|
| |
|
|
|
|
| |
think it is really right. :) This fixes PR2284.
llvm-svn: 50665
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
related to pp-expressions. Doing so is pretty simple and this
patch implements it, yielding nice diagnostics like:
t.c:2:7: error: division by zero in preprocessor expression
#if 1 / (0 + 0)
~ ^ ~~~~~~~
t.c:5:14: error: expected ')' in preprocessor expression
#if (412 + 42
~~~~~~~~^
t.c:5:5: error: to match this '('
#if (412 + 42
^
t.c:10:10: warning: left side of operator converted from negative value to unsigned: -42 to 18446744073709551574
#if (-42 + 0U) / -2
~~~ ^ ~~
t.c:10:16: warning: right side of operator converted from negative value to unsigned: -2 to 18446744073709551614
#if (-42 + 0U) / -2
~~~~~~~~~~ ^ ~~
5 diagnostics generated.
llvm-svn: 50638
|
| |
|
|
|
|
| |
the final part of PR2279
llvm-svn: 50635
|
| |
|
|
| |
llvm-svn: 50632
|
| |
|
|
| |
llvm-svn: 50631
|
| |
|
|
|
|
|
|
|
| |
a) correct rejection of ',' in pp expressions.
b) the precedence of ',' was wrong w.r.t. ?:.
Thanks again to Neil for finding these and providing testcases.
llvm-svn: 50625
|
| |
|
|
|
|
| |
for pointing this out.
llvm-svn: 50624
|
| |
|
|
| |
llvm-svn: 50617
|
| |
|
|
| |
llvm-svn: 49997
|
| |
|
|
|
|
|
|
|
|
|
| |
literal, indicate what character the error is about or where
it would be. For example:
pr2241.c:1:17: error: exponent has no digits
float f[] = { 1e , 1ee0 };
^
llvm-svn: 49996
|
| |
|
|
| |
llvm-svn: 49973
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dstor.
clang.cpp: InitializePreprocessor now makes a copy of the contents of PredefinesBuffer and
passes it to the preprocessor object.
clang.cpp: DriverPreprocessorFactory now calls "InitializePreprocessor" instead of this being done in main().
html::HighlightMacros() now takes a PreprocessorFactory, allowing it to conjure up a new
Preprocessor to highlight macros.
class HTMLDiagnostics now takes a PreprocessorFactory* that it can use for html::HighlightMacros().
Updated clients of HTMLDiagnostics to use this new interface.
llvm-svn: 49875
|
| |
|
|
|
|
| |
objects on-demand.
llvm-svn: 49868
|
| |
|
|
| |
llvm-svn: 49632
|
| |
|
|
|
|
| |
more nice.
llvm-svn: 49619
|
| |
|
|
| |
llvm-svn: 49575
|
| |
|
|
| |
llvm-svn: 49535
|
| |
|
|
| |
llvm-svn: 49229
|
| |
|
|
| |
llvm-svn: 49042
|
| |
|
|
| |
llvm-svn: 48741
|
| |
|
|
|
|
| |
expanded token" case.
llvm-svn: 48637
|
| |
|
|
| |
llvm-svn: 48485
|
|
|
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.
llvm-svn: 48402
|