- Sep 02, 2011
-
-
Richard Trieu authored
Refactor CheckAdditionOperands(), CheckSubtractionOperands(), and CheckIncrementDecrementOperand() in SemaExpr.cpp to move reused code to separate functions. llvm-svn: 138975
-
Eli Friedman authored
llvm-svn: 138974
-
James Molloy authored
Fix apparent build error caused by r138948 on certain versions of GCC with -Werror. Sorry for the inconvenience. llvm-svn: 138973
-
- Sep 01, 2011
-
-
Argyrios Kyrtzidis authored
in the face of buffering C++/ObjC method bodies. llvm-svn: 138972
-
Argyrios Kyrtzidis authored
llvm-svn: 138971
-
Nick Lewycky authored
and may very well be dependent-types, triggering an assertion in debug info codegen. llvm-svn: 138970
-
Richard Trieu authored
Extend the self-reference warning to catch when a constructor references itself upon initialization, such as using itself within its own copy constructor. struct S {}; S s(s); llvm-svn: 138969
-
Bill Wendling authored
llvm-svn: 138968
-
Bill Wendling authored
Duncan noticed this! llvm-svn: 138967
-
Eli Friedman authored
llvm-svn: 138966
-
Eli Friedman authored
Fix an issue with the IR sink pass found by inspection. (I'm not sure anyone is actually using this, but might as well fix it since I found the issue.) llvm-svn: 138965
-
Eli Friedman authored
llvm-svn: 138964
-
Nick Lewycky authored
Remove broken emacs mode major notation marking a C++ file as C. No functionality change. llvm-svn: 138963
-
Eli Friedman authored
Make isSafeToSpeculativelyExecute() return the right answer for some new instructions. Found by inspection; not sure what practical impact, if any, this has. llvm-svn: 138962
-
Howard Hinnant authored
Reimplemented much of <istream> such that single character extractions do not check to see if this is the last character in the stream and thus never set eofbit. This fixes http://llvm.org/bugs/show_bug.cgi?id=10817 . This fix requires a recompiled libc++.dylib to be fully implemented. The recompiled libc++.dylib is ABI compatible with that shipped on Lion. llvm-svn: 138961
-
Argyrios Kyrtzidis authored
Objective-C method buffering(rdar://10056942) Turned out the same issue existed for C++ inline methods. llvm-svn: 138960
-
Douglas Gregor authored
LangOptions, rather than making distinct copies of LangOptions. Granted, LangOptions doesn't actually get modified, but this will eventually make it easier to construct ASTContext and Preprocessor before we know all of the LangOptions. llvm-svn: 138959
-
Fariborz Jahanian authored
for now. llvm-svn: 138958
-
Douglas Gregor authored
llvm-svn: 138957
-
Benjamin Kramer authored
llvm-svn: 138955
-
Benjamin Kramer authored
llvm-svn: 138954
-
Jakob Stoklund Olesen authored
An instruction may define part of a register where the other bits are undefined. In that case, it is safe to rematerialize the instruction. For example: %vreg2:ssub_0<def> = VLDRS <cp#0>, 0, pred:14, pred:%noreg, %vreg2<imp-def> The extra <imp-def> operand indicates that the instruction does not read the other parts of the virtual register, so a remat is safe. This patch simply allows multiple def operands for the virtual register. It is MI->readsVirtualRegister() that determines if we depend on a previous value so remat is impossible. llvm-svn: 138953
-
Jim Grosbach authored
llvm-svn: 138952
-
Bruno Cardoso Lopes authored
only one use. Fix PR10825. llvm-svn: 138951
-
Greg Clayton authored
a data using DataEncoder. Added DataEncoder to the lldb-forward.h file. llvm-svn: 138950
-
Greg Clayton authored
can reserve a block of memory and store stuff into it. llvm-svn: 138949
-
James Molloy authored
llvm-svn: 138948
-
Fariborz Jahanian authored
This concludes //rdar://8843851 llvm-svn: 138947
-
Owen Anderson authored
llvm-svn: 138946
-
Jakob Stoklund Olesen authored
The problem is fixed for all register allocators by r138944, so this patch is no longer necessary. <rdar://problem/10032939> llvm-svn: 138945
-
Jakob Stoklund Olesen authored
An instruction that redefines only part of a larger register can never be rematerialized since the virtual register value depends on the old value in other parts of the register. This was fixed for the inline spiller in r138794. This patch fixes the problem for all register allocators, and includes a small test case. <rdar://problem/10032939> llvm-svn: 138944
-
Douglas Gregor authored
include guards don't show up as macro definitions in every translation unit that imports a module. Macro definitions can, however, be exported with the intentionally-ugly #__export_macro__ directive. Implement this feature by not even bothering to serialize non-exported macros to a module, because clients of that module need not (should not) know that these macros even exist. llvm-svn: 138943
-
Francois Pichet authored
I had to force -fno-delayed-template-parsing on some Index tests because delayed template parsing will change the output of some tests. llvm-svn: 138942
-
Rafael Espindola authored
and doing a simple search. Before we would manually check for the linker before the -B options were searched. llvm-svn: 138941
-
Hans Wennborg authored
llvm-svn: 138940
-
Zhongxing Xu authored
free() is returned by realloc(). Most code expect NULL. And we only need to transfer one final ProgramState. llvm-svn: 138937
-
Argyrios Kyrtzidis authored
llvm-svn: 138936
-
Douglas Gregor authored
semantic analysis when taking the address of an xvalue. Instead, just build the unary operator directly, since it's safe to do so (from the IRgen and AST perspectives) for any glvalue. Fixes PR10822. llvm-svn: 138935
-
Evan Cheng authored
Teach MachineLICM reg pressure tracking code to deal with MVT::untyped. Sorry, I can't come up with a small test case. rdar://10043690 llvm-svn: 138934
-
Bill Wendling authored
llvm-svn: 138933
-