- Jul 11, 2013
-
-
James Dennett authored
* Fixing up \brief summaries (adding some, making some briefer); * Standardizing on \commands, not @commands; * Update C++0x references to C++11; * Fix typos and Doxygen warnings. llvm-svn: 186056
-
NAKAMURA Takumi authored
llvm-svn: 186055
-
Eli Friedman authored
Sorry about that. llvm-svn: 186054
-
Richard Smith authored
& operator (ignoring any overloaded operator& for the type). The purpose of this builtin is for use in std::addressof, to allow it to be made constexpr; the existing implementation technique (reinterpret_cast to some reference type, take address, reinterpert_cast back) does not permit this because reinterpret_cast between reference types is not permitted in a constant expression in C++11 onwards. llvm-svn: 186053
-
Richard Smith authored
__builtin_addressof. llvm-svn: 186052
-
Hal Finkel authored
I had thought that these tests could be target-neutral, but in practice this is not the case (on some targets, like Hexagon and Darwin), they trigger an assert (a different assert than the one that r186044 fixes). llvm-svn: 186051
-
Jim Ingham authored
Add a -remote-file option to “target create” to specify the location of the executable on a remote system (if debugging remotely using debugserver on the target system.) This gets us closer to being able to set up a remote debugging session from the lldb command line. llvm-svn: 186050
-
Eli Friedman authored
Also fixes a couple minor bugs along the way; see testcases. llvm-svn: 186049
-
Richard Smith authored
llvm-svn: 186048
-
Richard Smith authored
#if defined(__has_foo("X")) && __has_foo("X") is not a correct way to portably use __has_foo, because it is expanded to #if 0 && 0("X") ... which is ill-formed. Also add a missing ')'. llvm-svn: 186047
-
Hal Finkel authored
Trying to fix the i686-mingw32 build. llvm-svn: 186046
-
Hal Finkel authored
For some reason, the Hexagon backend does not reject these invalid static initializer expressions, but instead crashes in AsmPrinter::EmitGlobalConstant. llvm-svn: 186045
-
Hal Finkel authored
A non-constant-foldable static initializer expression containing insertvalue or extractvalue had been causing an assert: Constants.cpp:1971: Assertion `FC && "ExtractValue constant expr couldn't be folded!"' failed. Now we report a more-sensible "Unsupported expression in static initializer" error instead. Fixes PR15417. llvm-svn: 186044
-
Rafael Espindola authored
It is not reliable to depend on the output of llvm_unreachable. The original change will have proper tests when llvm-ar moves to lib/Object (soon). llvm-svn: 186043
-
Hans Wennborg authored
llvm-svn: 186042
-
Rafael Espindola authored
llvm-svn: 186041
-
Richard Smith authored
lookup in the surrounding context. Slightly rework how we handle friend declarations to inherit the visibility of the prior declaration, rather than setting a friend declaration to be visible whenever there was a prior declaration. llvm-svn: 186040
-
- Jul 10, 2013
-
-
Andrew Kaylor authored
llvm-svn: 186039
-
Rafael Espindola authored
There is no lib/Archive anymore and some archive tests were in test/Archive and others in test/Object. Since archive is just one of the formats supported by lib/Object, test/Object is probably the best location. llvm-svn: 186038
-
Fariborz Jahanian authored
migrate to 'copy attribute if Object class implements NSCopying otherwise assume implied 'strong'. Remove lifetime qualifier on property as it has moved to property's attribute. Added TODO comment for future work by poking into setter implementation. llvm-svn: 186037
-
Adrian Prantl authored
llvm-svn: 186035
-
Tim Northover authored
Patch from Игорь Пашев (I do hope we support utf-8 commit messages; I also hope he'll forgive me for transliterating it as Igor Pashev in case things go horribly wrong). llvm-svn: 186034
-
Matt Kopec authored
llvm-svn: 186033
-
Stephen Lin authored
llvm-svn: 186032
-
Adrian Prantl authored
llvm-svn: 186031
-
Eric Christopher authored
the two sets of debug scope and cleanup scope. llvm-svn: 186030
-
Rafael Espindola authored
llvm-svn: 186029
-
Jordan Rose authored
Previously, we asserted that whenever 'new' did not include a constructor call, the type must be a non-record type. In C++11, however, uniform initialization syntax (braces) allow 'new' to construct records with list-initialization: "new Point{1, 2}". Removing this assertion should be perfectly safe; the code here matches what VisitDeclStmt does for regions allocated on the stack. <rdar://problem/14403437> llvm-svn: 186028
-
Reid Kleckner authored
llvm-svn: 186027
-
Michael Gottesman authored
[objc-arc] Changed 'mode: c++' => 'C++' at Nick Lewycky's suggestion. Also removed unnecessary mode: c++ lines from .cpp files. llvm-svn: 186026
-
Michael Gottesman authored
llvm-svn: 186025
-
James Dennett authored
use/maintain additional state from the LambdaExpr while visiting the body of a LambdaExpr. One use for this arises because Clang's AST currently holds lambda bodies in a form prior to their adjustment to refer to captured copies of local variables, and so some clients will need access to the lambda's closure type in order to query how to map VarDecl*s to the FieldDecls of their by-copy captures. This hook is sufficient for at least one such client; to do this without such a hook would require the client to re-implement the whole of TraverseLambdaExpr, which is non-trivial and would likely be more brittle. llvm-svn: 186024
-
Enrico Granata authored
llvm-svn: 186023
-
Marshall Clow authored
llvm-svn: 186022
-
Benjamin Kramer authored
Found by -Wdocumentation. llvm-svn: 186021
-
Greg Clayton authored
Fixed an issue introduced with my last fix where the command and sequence ID extraction were moved causing them to be reversed. llvm-svn: 186020
-
Kaelyn Uhrain authored
Patch courtesy of Luke Zarko <zarko@google.com> llvm-svn: 186019
-
Rafael Espindola authored
llvm-svn: 186018
-
Aaron Ballman authored
llvm-svn: 186017
-
Rafael Espindola authored
The status function is already using a syscall that returns the file size. Remember it and implement file_size as a simple wrapper. No functionally change, but clients that already use status now can avoid calling file_size. llvm-svn: 186016
-