- Feb 22, 2013
-
-
Reed Kotler authored
to the immediate operand of sli or cmp function. llvm-svn: 175865
-
Richard Smith authored
llvm-svn: 175864
-
Ted Kremenek authored
Fixes <rdar://problem/13236549> llvm-svn: 175863
-
Reed Kotler authored
llvm-svn: 175862
-
Richard Smith authored
the normal attribute-merging path, because we can't merge alignment attributes without knowing the complete set of alignment attributes which apply to a particular declaration. llvm-svn: 175861
-
Argyrios Kyrtzidis authored
llvm-svn: 175860
-
NAKAMURA Takumi authored
llvm-svn: 175859
-
John McCall authored
accessible in its declaring class; otherwise we might fail to apply [class.protected] when considering accessibility in derived classes. Noticed by inspection; <rdar://13270329>. I had an existing test wrong. Here's why it's wrong: Follow the rules (and notation) of [class.access]p5. The naming class (N) is B and the context (R) is D::getX. - 'x' as a member of B is protected, but R does not occur in a member or friend of a class derived from B. - There does exist a base class of B, A, which is accessible from R, and 'x' is accessible at R when named in A because 'x' as a member of A is protected and R occurs in a member of a class, D, that is derived from A; however, by [class.protected], the class of the object expression must be equal to or derived from that class, and A does not derive from D. llvm-svn: 175858
-
Anna Zaks authored
Previously, we had the decisions about inlining spread out over multiple functions. In addition to the refactor, this commit ensures that we will always inline BodyFarm functions as long as the Decl is available. This fixes false positives due to those functions not being inlined when no or minimal inlining is enabled such (as shallow mode). llvm-svn: 175857
-
Enrico Granata authored
Using __package__ and __name__ seems redundant - __name__ should always contain the fully qualified module name llvm-svn: 175856
-
Richard Smith authored
to control the check for the C 5.2.4.1 / C++ [implimits] restriction on nesting levels for parentheses, brackets and braces. Some code with heavy macro use exceeds the default limit of 256, but we don't want to increase it generally to avoid stack overflow on stack-constrained systems. llvm-svn: 175855
-
Jordan Rose authored
This is a follow-up to r175830, which made sure a temporary object region created for, say, a struct rvalue matched up with the initial bindings being stored into it. This does the same for the case in which the AST actually tells us that we need to create a temporary via a MaterializeObjectExpr. I've unified the two code paths and moved a static helper function onto ExprEngine. This also caused a bit of test churn, causing us to go back to describing temporary regions without a 'const' qualifier. This seems acceptable; it's our behavior from a few months ago. <rdar://problem/13265460> (part 2) llvm-svn: 175854
-
Pete Cooper authored
It was incorrectly checking a Function* being an IntrinsicInst* which isn't possible. It should always have been checking the CallInst* instead. Added test case for x86 which ensures we only get one constant load. It was 2 before this change. rdar://problem/13267920 llvm-svn: 175853
-
Ted Kremenek authored
Fix regression in modeling assignments of an address of a variable to itself. Fixes <rdar://problem/13226577>. llvm-svn: 175852
-
Eric Christopher authored
if we're compiling. llvm-svn: 175851
-
Fariborz Jahanian authored
casts with c++ named casts. Change notes to say use bridge with c-style cast instead. // rdar://12788838 llvm-svn: 175850
-
Andrew Trick authored
There's no apparent reason this code was copied from generated source into a .cpp. It sets a bad example for those working on other targets and trying to understand the register info API. llvm-svn: 175849
-
Jordan Rose authored
llvm-svn: 175848
-
Eli Bendersky authored
convey that it's a INOUT argument. Also, if parsing of entry instructions fails, don't push the entry. llvm-svn: 175847
-
Bill Wendling authored
llvm-svn: 175846
-
Enrico Granata authored
llvm-svn: 175845
-
Daniel Malea authored
- replace "catch-all" except clause with one that specifically catches what pexpect throws - handle case where child is already terminated (or is terminating) by the time tear-down is run llvm-svn: 175844
-
Bill Wendling authored
llvm-svn: 175843
-
Enrico Granata authored
llvm-svn: 175842
-
Enrico Granata authored
This was preventing us from providing a summary for the result of std::string.c_str() with libc++ llvm-svn: 175841
-
Jordan Rose authored
When parsing directives within skipped #if blocks, we don't want to retain any whitespace. Previously we were just skipping comments, but it's not possible to skip comments and retain other whitespace. This change matches the usual behavior for parsing directives (i.e. the behavior outside of skipped #if blocks). <rdar://problem/13267695> llvm-svn: 175840
-
Eric Christopher authored
llvm-svn: 175839
-
Michael Gottesman authored
that a __strong object of block type is a valid argument to objc_storeStrong but that an objc_retain and not an objc_retainBlock will be emitted. llvm-svn: 175838
-
Aaron Ballman authored
Removing has_getDecl (added in r175532). It cause a build break for MSVC, and was not yet being used in the codebase. If we start using std::enable_if, we can look into resurrecting the idea in a more portable fashion. llvm-svn: 175837
-
Bill Wendling authored
Apply the 'nobuiltin' attribute to call sites when the user specifies `-fno-builtin' on the command line. llvm-svn: 175836
-
Bill Wendling authored
The 'nobuiltin' attribute is applied to call sites to indicate that LLVM should not treat the callee function as a built-in function. I.e., it shouldn't try to replace that function with different code. llvm-svn: 175835
-
Bill Wendling authored
llvm-svn: 175834
-
Eric Christopher authored
llvm-svn: 175833
-
Enrico Granata authored
llvm-svn: 175832
-
rdar://problem/13265017Enrico Granata authored
The notion of Crossref command has long been forgotten, and there is nothing using CommandObjectCrossref in the current LLDB codebase However, this was causing a conflict with process plugins and command aliases ending up in an infinite loop under situations such as: (lldb) command alias monitor process plugin packet monitor (lldb) process att -n Calendar Process 28709 stopped Executable module set to "/Applications/Calendar.app/Contents/MacOS/Calendar". Architecture set to: x86_64-apple-macosx. (lldb) command alias monitor process plugin packet monitor This fixes the loop (and consequent crash) by disposing of Crossref commands and related code llvm-svn: 175831
-
Jordan Rose authored
When creating a temporary region (say, when a struct rvalue is used as the base of a member expr), make sure we account for any derived-to-base casts. We don't actually record these in the LazyCompoundVal that represents the rvalue, but we need to make sure that the temporary region we're creating (a) matches the bindings, and (b) matches its expression. Most of the time this will do exactly the same thing as before, but it fixes spurious "garbage value" warnings introduced in r175234 by the use of lazy bindings to model trivial copy constructors. <rdar://problem/13265460> llvm-svn: 175830
-
Matt Kopec authored
llvm-svn: 175829
-
Andrew Kaylor authored
On x86-64 platforms, the small code model assumes that code will be loaded below the 2GB boundary. With the static relocation model, the fact that the expression code is initially loaded (in the LLDB debugger address space) above that boundary causes problems. Switching to the JITDefault code model causes the large code model to be used for 64-bit targets and small code model of 32-bit targets. llvm-svn: 175828
-
John McCall authored
for explicit member specializations. llvm-svn: 175827
-
David Blaikie authored
Post commit review feedback on r175812 from Jordan Rose. llvm-svn: 175826
-