- Feb 20, 2012
-
-
Douglas Gregor authored
and introducing the lambda closure type and its function call operator. Previously, we assumed that the lambda closure type would land directly in the current context, and not some parent context (as occurs with linkage specifications). Thanks to Richard for the test case. llvm-svn: 150987
-
Fariborz Jahanian authored
modern meta-data translation by commenting out private ivar declarations in user source. Also, added several tests. llvm-svn: 150985
-
Douglas Gregor authored
of that variable; it will need to be recomputed with the resolved type. llvm-svn: 150984
-
Chad Rosier authored
llvm-svn: 150983
-
Douglas Gregor authored
name mangling in the Itanium C++ ABI for lambda expressions is so dependent on context, we encode the number used to encode each lambda as part of the lambda closure type, and maintain this value within Sema. Note that there are a several pieces still missing: - We still get the linkage of lambda expressions wrong - We aren't properly numbering or mangling lambda expressions that occur in default function arguments or in data member initializers. - We aren't (de-)serializing the lambda numbering tables llvm-svn: 150982
-
Eric Christopher authored
handled by the caching and rauw. Also fix one cache that wasn't being added to highlighted by this patch. Update all testcases accordingly. This should fix the deall failure. llvm-svn: 150977
-
Eric Christopher authored
temporary forward declaration nodes. Fixes a problem building Chrome. llvm-svn: 150976
-
Gregory Szorc authored
llvm-svn: 150972
-
Gregory Szorc authored
llvm-svn: 150971
-
Gregory Szorc authored
llvm-svn: 150970
-
Gregory Szorc authored
llvm-svn: 150969
-
Douglas Gregor authored
properly. Previously, we deserialized it but failed to set the corresponding member in CXXNewExpr. Fixes <rdar://problem/10893600>. llvm-svn: 150963
-
Aaron Ballman authored
llvm-svn: 150960
-
Dylan Noblesmith authored
The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. llvm-svn: 150958
-
Chandler Carruth authored
match the behavior of GCC. Also add a test for these intrinsics, which apparently have *zero* tests. =[ Not surprisingly, Clang crashed when compiling these. Fix the bug in CodeGen where we failed to bitcast the argument type to x86mmx prior to calling the LLVM intrinsic. This fixes an assert on the new 3dnow-builtins.c test. This is one issue impacting the efforts to get Clang to emulate the Microsoft intrinsics headers -- 3dnow intrinsics are implictitly made available there. llvm-svn: 150948
-
Benjamin Kramer authored
Fixes PR11929. Found by valgrind. llvm-svn: 150943
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 150940
-
Chandler Carruth authored
actually matching the write substrings, and stop looking for a leading '/' to try and finish fixing darwin and other hosts. llvm-svn: 150938
-
- Feb 19, 2012
-
-
Fariborz Jahanian authored
declared in class extension and implementation. llvm-svn: 150937
-
Gregory Szorc authored
llvm-svn: 150936
-
Sebastian Redl authored
llvm-svn: 150933
-
Benjamin Kramer authored
llvm-svn: 150932
-
Sebastian Redl authored
llvm-svn: 150931
-
Sebastian Redl authored
llvm-svn: 150930
-
Sebastian Redl authored
llvm-svn: 150928
-
Sebastian Redl authored
Get recursive initializer lists to work and add a test. Codegen of std::initializer_list is now complete. Onward to array new. llvm-svn: 150926
-
Sebastian Redl authored
Add a testcase for using objects with list-constructors, and fix a Sema crash by repeating an old hack. llvm-svn: 150925
-
Sebastian Redl authored
llvm-svn: 150924
-
Sebastian Redl authored
llvm-svn: 150923
-
Sebastian Redl authored
Fix a crash for nested initializer list initialization. Still does the wrong thing in CodeGen, in that it never destructs anything. llvm-svn: 150922
-
Ahmed Charles authored
llvm-svn: 150919
-
Rafael Espindola authored
llvm-svn: 150907
-
Rafael Espindola authored
give up on matching the path prefix for the libraries. llvm-svn: 150906
-
Rafael Espindola authored
prefix. llvm-svn: 150905
-
Rafael Espindola authored
libraries on windows. Use two variables to make this test pass. llvm-svn: 150903
-
Rafael Espindola authored
llvm-svn: 150901
-
Rafael Espindola authored
llvm-svn: 150900
-
Rafael Espindola authored
configure's --with-gcc-toolchain. The configure option is now just a default value for the command line one. llvm-svn: 150898
-
- Feb 18, 2012
-
-
-
Richard Smith authored
complex numbers. Treat complex numbers as arrays of the corresponding component type, in order to make std::complex behave properly if implemented in terms of _Complex T. Apparently libstdc++'s std::complex is implemented this way, and we were rejecting a member like this: constexpr double real() { return __real__ val; } because it was marked constexpr but unable to produce a constant expression. llvm-svn: 150895
-