- Dec 17, 2011
-
-
Eric Christopher authored
declaration for the type then go ahead and use that, it's still smaller than creating an all new derived type. Part of rdar://10335756 and others. llvm-svn: 146779
-
Eric Christopher authored
classes. Part of rdar://10520586 and a couple others. llvm-svn: 146778
-
Jim Ingham authored
llvm-svn: 146777
-
Johnny Chen authored
valobj.AddressOf() returns None when an address is expected in a SyntheticChildrenProvider Patch from Enrico Granata: The problem was that the frozen object created by the expression parser was a copy of the contents of the StgClosure, rather than a pointer to it. Thus, the expression parser was correctly computing the result of the arithmetic&cast operation along with its address, but only saving it in the live object. This meant that the frozen copy acted as an address-less variable, hence the problem. The fix attached to this email lets the expression parser store the "live address" in the frozen copy of the address when the object is built without a valid address of its own. Doing so, along with delegating ValueObjectConstResult to calculate its own address when necessary, solves the issue. I have also added a new test case to check for regressions in this area, and checked that existing test cases pass correctly. llvm-svn: 146768
-
Jakob Stoklund Olesen authored
The bad sorting caused a misaligned basic block when building 176.vpr in ARM mode. <rdar://problem/10594653> llvm-svn: 146767
-
- Dec 16, 2011
-
-
Nicola Gigante authored
Fix an inconsistency in the syntactic form of InitListExpr in case of initialization that involves a ConstructorConversion llvm-svn: 146766
-
Richard Smith authored
#__include_macros) in the arguments of a function-style macro. Directives in the arguments of such macros have undefined behaviour, and GCC does not correctly support these cases. In some situations, this can lead to better diagnostics. llvm-svn: 146765
-
Douglas Gregor authored
llvm-svn: 146764
-
Douglas Gregor authored
llvm-svn: 146763
-
Nick Lewycky authored
This is equal to alignof(std::max_align_t) on the platform and equal to the alignment provided by malloc. (Platform owners please double-check your platform's value.) llvm-svn: 146762
-
Nick Lewycky authored
llvm-svn: 146761
-
Eli Friedman authored
llvm-svn: 146760
-
Richard Smith authored
llvm-svn: 146759
-
Chad Rosier authored
take them into account. rdar://10590282 llvm-svn: 146758
-
Chad Rosier authored
take them into account. rdar://10576962 llvm-svn: 146757
-
Sean Callanan authored
we handle Objective-C method calls. Currently, LLDB treats the result of an Objective-C method as unknown if the type information doesn't have the method's signature. Now Clang can cast the result to id if it isn't explicitly cast. I also added a test case for this, as well as a fix for a type import problem that this feature exposed. llvm-svn: 146756
-
Richard Smith authored
behaviour to be an error, so it's useful to be able to make it an error in clang too. llvm-svn: 146755
-
Dylan Noblesmith authored
Hexatridecimal was added in r139695. And fix the unittest that now triggers the assert. llvm-svn: 146754
-
Richard Smith authored
might not be an rvalue when checking array accesses. Instead, pass through a flag indicating the array index is negated. llvm-svn: 146753
-
Kostya Serebryany authored
FakeStack on the worker threads. This patch moves the AsanThread initialization into a separate procedure that's called when AsanThread objects are called for worker threads. Patch by glider@google.com llvm-svn: 146752
-
Jakob Stoklund Olesen authored
This adjustment is already included in the block offsets computed by BasicBlockInfo, and adjusting again here can cause the pass to loop. When CreateNewWater splits a basic block, OffsetIsInRange would reject the new CPE on the next pass because of the too conservative alignment adjustment. This caused the block to be split again, and so on. llvm-svn: 146751
-
Benjamin Kramer authored
Reenable the tests. llvm-svn: 146750
-
Richard Smith authored
fails within a call to a constexpr function. Add -fconstexpr-backtrace-limit argument to driver and frontend, to control the maximum number of notes so produced (default 10). Fix APValue printing to be able to pretty-print all APValue types, and move the testing for this functionality from a unittest to a -verify test now that it's visible in clang's output. llvm-svn: 146749
-
Anna Zaks authored
llvm-svn: 146748
-
Anna Zaks authored
We should exit when matching the '+' even if nothing was found to prevent searching for all UNIT_MAX items. llvm-svn: 146747
-
Greg Clayton authored
handles. llvm-svn: 146746
-
Devang Patel authored
llvm-svn: 146745
-
Devang Patel authored
llvm-svn: 146744
-
Devang Patel authored
llvm-svn: 146743
-
Douglas Gregor authored
If there is a definition of an ObjCInterfaceDecl, make it the Decl returned from the corresponding ObjCInterfaceType llvm-svn: 146740
-
Jakob Stoklund Olesen authored
The command line option should be removed, but not until the feature has gotten a lot of testing. The ARMConstantIslandPass tends to have subtle bugs that only show up after a while. llvm-svn: 146739
-
David Blaikie authored
Reviewed by Eli Friedman. llvm-svn: 146738
-
Fariborz Jahanian authored
on properties, prevent consequential error diagnostics. // rdar://10591336 llvm-svn: 146737
-
Howard Hinnant authored
llvm-svn: 146736
-
Manuel Klimek authored
llvm-svn: 146735
-
Chandler Carruth authored
bit of style, sorry. llvm-svn: 146733
-
Chandler Carruth authored
I have no idea why GCC can't cope with the implicit conversion and Clang can, or whose bug it is. Grr. llvm-svn: 146732
-
Chandler Carruth authored
variadic-like functions in C++98. See the comments in the header file for a more detailed description of how these work. We plan to use these extensively in the AST matching library. This code and idea were originally authored by Zhanyong Wan. I've condensed it using macros to reduce repeatition and adjusted it to fit better with LLVM's ADT. Thanks to both David Blaikie and Doug Gregor for the review! llvm-svn: 146729
-
Chris Lattner authored
autorenamed version of the other. This makes the IR easier to read, because we don't end up with random renamed versions of the types after LTO'ing a large app. llvm-svn: 146728
-
Tobias Grosser authored
llvm-svn: 146727
-