- Mar 25, 2009
-
-
Douglas Gregor authored
llvm-svn: 67710
-
Douglas Gregor authored
llvm-svn: 67708
-
Douglas Gregor authored
the declarations of member classes are instantiated when the owning class template is instantiated. The definitions of such member classes are instantiated when a complete type is required. This change also introduces the injected-class-name into a class template specialization. llvm-svn: 67707
-
Chris Lattner authored
... arguments. llvm-svn: 67706
-
Chris Lattner authored
terminated with an EOF token. The condition it is trying to check for is handled by this code above. // Empty arguments are standard in C99 and supported as an extension in // other modes. if (ArgTokens.empty() && !Features.C99) Diag(Tok, diag::ext_empty_fnmacro_arg); llvm-svn: 67705
-
Ted Kremenek authored
llvm-svn: 67703
-
Evan Cheng authored
llvm-svn: 67702
-
Evan Cheng authored
Also fixes SDISel so it *does not* force promote return value if the function is not marked signext / zeroext. llvm-svn: 67701
-
Anders Carlsson authored
llvm-svn: 67700
-
Mike Stump authored
llvm-svn: 67697
-
Mike Stump authored
from previous block literals. llvm-svn: 67696
-
Mike Stump authored
llvm-svn: 67695
-
Evan Cheng authored
llvm-svn: 67694
-
Dale Johannesen authored
stoppoint nodes around until Legalize; doing this imposed an ordering on a sequence of loads that came from different lines, interfering with scheduling. llvm-svn: 67692
-
Evan Cheng authored
llvm-svn: 67691
-
Duncan Sands authored
llvm-svn: 67689
-
Evan Cheng authored
llvm-svn: 67688
-
Douglas Gregor authored
llvm-svn: 67687
-
Douglas Gregor authored
llvm-svn: 67686
-
Douglas Gregor authored
llvm-svn: 67685
-
Douglas Gregor authored
llvm-svn: 67684
-
Daniel Dunbar authored
- This is really gross, but its the easiest way to match gcc. Once we are confident in the driver, we can try and push these translations down into tools. - No test cases for this yet, it's hard to see the effects of these translations before the gcc tool argument translation is pulled over. - Interaction with "unused argument" warning hasn't been worked out yet. - <rdar://problem/6717359> [driver] implement toolchain specific argument translation. "It's horrible in here." llvm-svn: 67683
-
Chris Lattner authored
call, we should treat "i64 zext" as the start of a constant expr, but "i64 0 zext" as an argument with an obsolete attribute on it (this form is already tested by test/Assembler/2007-07-30-AutoUpgradeZextSext.ll). Make the autoupgrade logic more discerning to avoid treating "i64 zext" as an old-style attribute, causing us to reject a valid constant expr. This fixes PR3876. llvm-svn: 67682
-
Gabor Greif authored
llvm-svn: 67681
-
Daniel Dunbar authored
we aren't going to support. For example: clang -Xarch_i386 -S -Xarch_i386 -o -Xarch_i386 myi386asm.s ... llvm-svn: 67680
-
Daniel Dunbar authored
matches the flag in Options.def). llvm-svn: 67679
-
Zhongxing Xu authored
representing symbolic expressions like 'x'+3 and 'x'+'y'. The design is subjected to change later when we fix the class hierarchy of symbolic expressions. llvm-svn: 67678
-
Daniel Dunbar authored
llvm-svn: 67677
-
Daniel Dunbar authored
- Lift ArgList to a base class for InputArgList and DerivedArgList. - This is not a great decomposition, but it does embed the translation into the type system, and keep things efficient for tool chains that don't want to do any translation. - No intended functionality change. Eventually I hope to get rid of tool chain specific translation and have each tool do the right thing, but for now this is the easiest way to match gcc precisely (which is good for testing). llvm-svn: 67676
-
Devang Patel authored
Do not ignore DW_TAG_class_type! llvm-svn: 67675
-
Chris Lattner authored
llvm-svn: 67674
-
Daniel Dunbar authored
llvm-svn: 67673
-
Anders Carlsson authored
class C { C() { } int a; }; C::C() : a(10) { } We also diagnose when initializers are used on declarations that aren't constructors: t.cpp:1:10: error: only constructors take base initializers void f() : a(10) { } ^ Doug and/or Sebastian: I'd appreciate a review, especially the nested-name-spec test results (from the looks of it we now match gcc in that test.) llvm-svn: 67672
-
Anders Carlsson authored
llvm-svn: 67671
-
Evan Cheng authored
llvm-svn: 67669
-
Evan Cheng authored
llvm-svn: 67668
-
Evan Cheng authored
llvm-svn: 67667
-
Dan Gohman authored
not going to persue this further at this time. llvm-svn: 67666
-
Ted Kremenek authored
static analysis. llvm-svn: 67665
-
Douglas Gregor authored
llvm-svn: 67664
-