- Feb 08, 2012
-
-
Argyrios Kyrtzidis authored
that is referencing the member function, so we can index the referenced function. Fixes rdar://10762375&10324915 & http://llvm.org/PR11192 llvm-svn: 150033
-
Johnny Chen authored
Refine the 'watchpoint set' command to now require either the '-v' option (for watching of a variable) or the '-e' option (for watching of an address) to be present. Update some existing test cases with the required option and add some more test cases. Since the '-v' option takes <variable-name> and the '-e' option takes <expr> as the command arg, the existing infrastructure for generating the option usage can produce confusing help message, like: watchpoint set -e [-w <watch-type>] [-x <byte-size>] <variable-name | expr> watchpoint set -v [-w <watch-type>] [-x <byte-size>] <variable-name | expr> The solution adopted is to provide an extra member field to the struct CommandArgumentData called (uint32_t)arg_opt_set_association, whose purpose is to link this particular argument data with some option set(s). Also modify the signature of CommandObject::GetFormattedCommandArguments() to: GetFormattedCommandArguments (Stream &str, uint32_t opt_set_mask = LLDB_OPT_SET_ALL) it now takes an additional opt_set_mask which can be used to generate a filtered formatted command args for help message. Options::GenerateOptionUsage() impl is modified to call the GetFormattedCommandArguments() appropriately. So that the help message now looks like: watchpoint set -e [-w <watch-type>] [-x <byte-size>] <expr> watchpoint set -v [-w <watch-type>] [-x <byte-size>] <variable-name> rdar://problem/10703256 llvm-svn: 150032
-
Kostya Serebryany authored
llvm-svn: 150031
-
Fariborz Jahanian authored
llvm-svn: 150030
-
John McCall authored
or __strong __typeof__(some.strong.thing). llvm-svn: 150029
-
John McCall authored
a typedef of std::pair. This slightly improves type-safety, but mostly makes code using it clearer to read as well as making it possible to add methods to the type. Add such a method for efficiently single-step desugaring a split type. Add a method to single-step desugaring a locally-unqualified type. Implement both the SplitQualType and QualType methods in terms of that. Also, fix a typo ("ObjCGLifetime"). llvm-svn: 150028
-
Kostya Serebryany authored
llvm-svn: 150027
-
Eric Christopher authored
llvm-svn: 150026
-
Eric Christopher authored
caching of results after we create them. Fixes rdar://10809898 llvm-svn: 150025
-
Eric Christopher authored
can rauw forward declarations if we decide to emit the full type. Part of rdar://10809898 llvm-svn: 150024
-
Devang Patel authored
llvm-svn: 150022
-
Devang Patel authored
llvm-svn: 150021
-
Sean Callanan authored
been completed yet, then complete it if possible. This fixes some assertion failures encountered by LLDB. llvm-svn: 150020
-
Chad Rosier authored
llvm-svn: 150014
-
Devang Patel authored
llvm-svn: 150012
-
Fariborz Jahanian authored
for modern objc abi. llvm-svn: 150011
-
Chad Rosier authored
llvm-svn: 150010
-
Jean-Daniel Dupas authored
llvm-svn: 150009
-
- Feb 07, 2012
-
-
Evan Cheng authored
llvm-svn: 150008
-
-
Benjamin Kramer authored
Revert my patches which removed Diagnostic.h includes by moving some operator overloads out of line. This seems to negatively affect compile time onsome ObjC tests (which use a lot of partial diagnostics I assume). I have to come up with a way to keep them inline without including Diagnostic.h everywhere. Now adding a new diagnostic requires a full rebuild of e.g. the static analyzer which doesn't even use those diagnostics. This reverts commit 6496bd10dc3a6d5e3266348f08b6e35f8184bc99. This reverts commit 7af19b817ba964ac560b50c1ed6183235f699789. This reverts commit fdd15602a42bbe26185978ef1e17019f6d969aa7. This reverts commit 00bd44d5677783527d7517c1ffe45e4d75a0f56f. This reverts commit ef9b60ffed980864a8db26ad30344be429e58ff5. llvm-svn: 150006
-
Sean Callanan authored
quite as busy. llvm-svn: 150005
-
Sean Callanan authored
for types that can be uniqued to the given type. This is especially helpful when types are missing file and line information. llvm-svn: 150004
-
Hal Finkel authored
llvm-svn: 150003
-
Fariborz Jahanian authored
llvm-svn: 150002
-
Chad Rosier authored
MAP_ERROR to be remapped to MAP_WARNING. These new APIs are being added to allow the diagnostic mapping's "no Werror" bit to be set, and potentially downgrade anything already mapped to be a warning. llvm-svn: 150001
-
David Blaikie authored
llvm-svn: 150000
-
David Blaikie authored
llvm-svn: 149999
-
Jean-Daniel Dupas authored
llvm-svn: 149998
-
Benjamin Kramer authored
llvm-svn: 149997
-
Devang Patel authored
llvm-svn: 149996
-
Devang Patel authored
llvm-svn: 149995
-
Kostya Serebryany authored
llvm-svn: 149994
-
Kostya Serebryany authored
llvm-svn: 149990
-
Fariborz Jahanian authored
in objective-c rewriter. wip. llvm-svn: 149989
-
Argyrios Kyrtzidis authored
Parsing of @implementations was based on modifying global state from the parser; the logic for late parsing of methods was spread in multiple places making it difficult to have a robust error recovery. -it was difficult to ensure that we don't neglect parsing the lexed methods. -it was difficult to setup the original objc container context for parsing the lexed methods after completing ParseObjCAtImplementationDeclaration and returning to top level context. Enhance parsing of @implementations by centralizing it in Parser::ParseObjCAtImplementationDeclaration(). ParseObjCAtImplementationDeclaration now returns only after an @implementation is fully parsed; all the data and logic for late parsing of methods is now in one place. This allows us to provide code-completion for late parsed methods with mis-matched braces. rdar://10775381 llvm-svn: 149987
-
Benjamin Kramer authored
Clang miscompiles it under certain circumstances, and it's a good exercise for APInt. llvm-svn: 149986
-
Aaron Ballman authored
Patch by Eitan Adler llvm-svn: 149984
-
Benjamin Kramer authored
llvm-svn: 149982
-
Benjamin Kramer authored
llvm-svn: 149981
-