- Feb 21, 2012
-
-
Nico Weber authored
llvm-svn: 151027
-
Douglas Gregor authored
initializers of data members (both static and non-static). llvm-svn: 151017
-
Aaron Ballman authored
llvm-svn: 151014
-
Ted Kremenek authored
Have ScanReachableSymbols reported reachable regions. Fixes a false positive with nested array literals. <rdar://problem/10686586> llvm-svn: 151012
-
Douglas Gregor authored
default arguments of function parameters. This simple-sounding task is complicated greatly by two issues: (1) Default arguments aren't actually a real context, so we need to maintain extra state within lambda expressions to track when a lambda was actually in a default argument. (2) At the time that we parse a default argument, the FunctionDecl doesn't exist yet, so lambda closure types end up in the enclosing context. It's not clear that we ever want to change that, so instead we introduce the notion of the "effective" context of a declaration for the purposes of name mangling. llvm-svn: 151011
-
Nick Lewycky authored
llvm-svn: 151010
-
Anna Zaks authored
llvm-svn: 151008
-
Anna Zaks authored
llvm-svn: 151007
-
Eli Friedman authored
llvm-svn: 151005
-
Richard Smith authored
explicit specialization of a function template, mark the instantiation as constexpr if the specialization is, rather than requiring them to match. llvm-svn: 151001
-
- Feb 20, 2012
-
-
Fariborz Jahanian authored
the 'invariant.load' metadata tag onto those loads. // rdar://10840980 llvm-svn: 150994
-
Anna Zaks authored
tests. llvm-svn: 150993
-
Anna Zaks authored
checks: - unix.Malloc - Checks for memory leaks, double free, use-after-free. - unix.cstring.NullArg - Checks for null pointers passed as arguments to CString functions + evaluates CString functions. - unix.cstring.BadSizeArg - Checks for common anti-patterns in strncat size argument. llvm-svn: 150988
-
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
-
Douglas Gregor authored
properly. Previously, we deserialized it but failed to set the corresponding member in CXXNewExpr. Fixes <rdar://problem/10893600>. llvm-svn: 150963
-
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
-
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
-
-
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
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
-
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
-
Ted Kremenek authored
Fix crash in analyzer diagnostic generation involving subexpressions of OpaqueValueExpr not appearing in the ParentMap. Fixes <rdar://problem/10797980>. llvm-svn: 150894
-