- Mar 28, 2013
-
-
Richard Smith authored
Fold together the two implementations of 6.7.3p2 in SemaType. Fix two bugs, each of which was only present in one version: * Give the right diagnostic for 'restrict' applied to a non-pointer, non-reference type. * Don't reject 'restrict' applied indirectly to an Objective-C object pointer type (eg, through template instantiation). llvm-svn: 178200
-
Argyrios Kyrtzidis authored
When we are consuming the current token just to enter a new token stream, we push the current token in the back of the stream so that we get it again. Unfortunately this had the effect where if the current token is a code-completion one, we would code-complete once during consuming it and another time after the stream ended. Fix this by making sure that, in this case, ConsumeAnyToken() will consume a code-completion token without invoking code-completion. rdar://12842503 llvm-svn: 178199
-
Richard Smith authored
Don't reject __restrict applied to a dependent type; it might instantiate to a pointer or reference type. llvm-svn: 178198
-
Bill Wendling authored
llvm-svn: 178196
-
Richard Smith authored
compiler-rt part of r178194. Remove ubsan test for diagnostic on inf/nan conversion between floating-point types. llvm-svn: 178195
-
Richard Smith authored
UBSan: Don't diagnose inf/nan conversions between floating-point types. It's far from clear whether these have undefined behavior, and these checks are helping no-one. Keep the double->float overflow warnings, though, since those are useful in practice, even though it's unclear whether such operations have defined behavior. llvm-svn: 178194
-
Preston Gurd authored
form of call in preference to memory indirect on Atom. In this case, the patch applies the optimization to the code for reloading spilled registers. The patch also includes changes to sibcall.ll and movgs.ll, which were failing on the Atom buildbot after the first patch was applied. This patch by Sriram Murali. llvm-svn: 178193
-
Enrico Granata authored
This test case was not doing the right thing with libc++ being used and was generating spurious over-completion warning flags llvm-svn: 178192
-
rdar://problem/13521159Greg Clayton authored
LLDB is crashing when logging is enabled from lldb-perf-clang. This has to do with the global destructor chain as the process and its threads are being torn down. All logging channels now make one and only one instance that is kept in a global pointer which is never freed. This guarantees that logging can correctly continue as the process tears itself down. llvm-svn: 178191
-
Jack Carter authored
Made sure we were looking a correct section Added Mips32/64 as an extra check Updated llvm-objdump to generate symbolic info for Mips relocations llvm-svn: 178190
-
Enrico Granata authored
With this notion, if parties outside the ScriptInterpreter itself need to acquire a lock on script APIs, they can do so by a pattern like this: { auto lock = interpeter->AcquireInterpreterLock(); // do whatever you need to do... } // lock will automatically be released here This might be useful for classes that use the Python convenience objects (e.g. PythonDictionary) to ensure they keep the underlying interpreter in a safe and controlled condition while they call through the C API functions Of course, the ScriptInterpreter still manages its internal locking correctly when necessary :-) llvm-svn: 178189 -
Chad Rosier authored
llvm-svn: 178188
-
Chad Rosier authored
llvm-svn: 178187
-
Chad Rosier authored
expression. Specifically, this syntax: ImmDisp [ BaseReg + Scale*IndexReg + Disp ] We don't currently support: ImmDisp [ Symbol ] rdar://13518671 llvm-svn: 178186
-
Fariborz Jahanian authored
llvm-svn: 178184
-
John Thompson authored
Broke out header file list reading into separate function. Moved options to front. Removed some trailing spaces. llvm-svn: 178182
-
Argyrios Kyrtzidis authored
Per feedback by Doug, we should avoid platform-specific implementations in lib/Headers as much as possible. This reverts commit r178110. llvm-svn: 178181
-
Hal Finkel authored
These functions should have the same list of load/store instructions. Now that all load/store forms have been normalized (to single instructions or pseudos) they can be resynchronized. Found by inspection, although hopefully this will improve optimization. I've also added some comments. llvm-svn: 178180
-
Fariborz Jahanian authored
is accessing 'isa' as an object pointer. // rdar://13503456. FixIt to follow in another patch. llvm-svn: 178179
-
Ashok Thirumurthi authored
- modified a comment llvm-svn: 178178
-
-
Greg Clayton authored
llvm-svn: 178176
-
rdar://problem/13327940Greg Clayton authored
Enhance automated testing to include evaluating function calls. llvm-svn: 178175
-
Jack Carter authored
llvm-svn: 178174
-
Rafael Espindola authored
Now that the basic implementation in llvm has been fixed, simplify the specializations in clang. llvm-svn: 178173
-
John Thompson authored
llvm-svn: 178172
-
Preston Gurd authored
For the current Atom processor, the fastest way to handle a call indirect through a memory address is to load the memory address into a register and then call indirect through the register. This patch implements this improvement by modifying SelectionDAG to force a function address which is a memory reference to be loaded into a virtual register. Patch by Sriram Murali. llvm-svn: 178171
-
Hal Finkel authored
Thanks to Bill Schmidt for pointing this out during code review! llvm-svn: 178170
-
Hal Finkel authored
I had removed similar code a few days ago, but somehow missed this. llvm-svn: 178169
-
Ariel J. Bernal authored
cpp11-migrate segfaults when -use-auto tries to resolve initializing expression resulting in an expression with cleanups. - Skip expressions with cleanups from the initializer - Added test case Fixes PR15550 llvm-svn: 178167
-
Dan Gohman authored
in as an argument to push_back. llvm-svn: 178166
-
Hal Finkel authored
As Chris pointed out, post r178123, this is now done! llvm-svn: 178165
-
John Thompson authored
llvm-svn: 178164
-
Chad Rosier authored
likely the crash diagnostics generation will fail as well. Part of rdar://13296693 llvm-svn: 178163
-
Chad Rosier authored
Part of rdar://13296693 llvm-svn: 178162
-
Chad Rosier authored
if crash diagnostics should be generated. By default this is enabled. Part of rdar://13296693 llvm-svn: 178161
-
Jordan Rose authored
These types will not have a CXXConstructExpr to do the initialization for them. Previously we just used a simple call to ProgramState::bindLoc, but that doesn't trigger proper checker callbacks (like pointer escape). Found by Anton Yartsev. llvm-svn: 178160
-
Dmitry Vyukov authored
llvm-svn: 178159
-
Dmitry Vyukov authored
(e.g. suppressions and print_suppressions) llvm-svn: 178158
-
Dmitry Vyukov authored
llvm-svn: 178157
-