- May 06, 2011
-
-
Alexis Hunt authored
- New isDefined() function checks for deletedness - isThisDeclarationADefinition checks for deletedness - New doesThisDeclarationHaveABody() does what isThisDeclarationADefinition() used to do - The IsDeleted bit is not propagated across redeclarations - isDeleted() now checks the canoncial declaration - New isDeletedAsWritten() does what it says on the tin. - isUserProvided() now correct (thanks Richard!) This fixes the bug that we weren't catching void foo() = delete; void foo() {} as being a redefinition. llvm-svn: 131013
-
Eli Friedman authored
llvm-svn: 131012
-
Johnny Chen authored
llvm-svn: 131011
-
Tobias Grosser authored
Instead of returning a pointer to the domain, we return a new copy of it. This is safer, as we do not give access to internal objects. It is also not expensive, as isl will just increment a reference counter. llvm-svn: 131010
-
Tobias Grosser authored
llvm-svn: 131009
-
Eli Friedman authored
llvm-svn: 131008
-
Jakob Stoklund Olesen authored
This should unbreak dragonegg-i386-linux and build-self-4-mingw32. llvm-svn: 131007
-
Jim Grosbach authored
error is detected is a good thing. llvm-svn: 131005
-
Jim Grosbach authored
llvm-svn: 131004
-
Jim Ingham authored
Make the log message & setter match for "dyld/shlib". The "ListLogCategories" output should really be auto-generated from the settings so you can't make this sort of mistake... llvm-svn: 131003
-
Galina Kistanova authored
llvm-svn: 131002
-
Andrew Trick authored
llvm-svn: 131001
-
Eli Friedman authored
Don't emit nsw flags for vector operations; there's basically no benefit, and a lot of downside (like PR9850, which is about clang's xmmintrin.h making an unexpected transformation on an expression involving _mm_add_epi32). llvm-svn: 131000
-
Rafael Espindola authored
llvm-svn: 130999
-
Jakob Stoklund Olesen authored
After a virtual register is split, update any debug user variables that resided in the old register. This ensures that the LiveDebugVariables are still correct after register allocation. This may create DBG_VALUE instructions that place a user variable in a register in parts of the function and in a stack slot in other parts. DwarfDebug currently doesn't support that. llvm-svn: 130998
-
Jakob Stoklund Olesen authored
llvm-svn: 130997
-
Jakob Stoklund Olesen authored
llvm-svn: 130996
-
Rafael Espindola authored
llvm-svn: 130995
-
Eli Friedman authored
llvm-svn: 130994
-
Eli Friedman authored
Add an implementation of thunks for varargs methods. The implementation is a bit messy, but it is correct as long as the method in question doesn't use indirect gotos. A couple of possible alternative implementations are outlined in FIXME's in this patch. rdar://problem/8077308 . llvm-svn: 130993
-
Andrew Trick authored
The post-ra scheduler was explicitly updating the depth of a node's successors after scheduling it, regardless of whether the successor was ready. This is quadratic for DAGs with transitively redundant edges. I simply removed the useless update of depth, which is lazilly computed later. Fixes <rdar://problem/9044332> compiler takes way too long to build TextInput. llvm-svn: 130992
-
Devang Patel authored
Move CompileUnit::getOrCreateNameSpace() and CompileUnit::addPubType() from DwarfDebug.cpp to DwarfCompileUnit.cpp llvm-svn: 130991
-
Douglas Gregor authored
CXTranslationUnit_NestedMacroInstantiations, which indicates whether we want to see "nested" macro instantiations (e.g., those that occur inside other macro instantiations) within the detailed preprocessing record. Many clients (e.g., those that only care about visible tokens) don't care about this information, and in code that uses preprocessor metaprogramming, this information can have a very high cost. Addresses <rdar://problem/9389320>. llvm-svn: 130990
-
Rafael Espindola authored
llvm-svn: 130989
-
Rafael Espindola authored
llvm-svn: 130988
-
Rafael Espindola authored
llvm-svn: 130987
-
Axel Naumann authored
This enables incremental codegen, where the initializer array can be removed from the module, such that only new initializers will be emitted and run. llvm-svn: 130986
-
Rafael Espindola authored
llvm-svn: 130985
-
Rafael Espindola authored
llvm-svn: 130984
-
Joerg Sonnenberger authored
function. Extend the logic to check if the input was compiled. Use -relax-all as default only if -O0 is used for compilation. Fixes bug 9290. llvm-svn: 130983
-
Anders Carlsson authored
Warn when trying to call a pure virtual member function in a class from the class constructor/destructor. Fixes PR7966. llvm-svn: 130982
-
Joerg Sonnenberger authored
properly reflect its behavior. llvm-svn: 130981
-
Justin Holewinski authored
Patch by Wei-Ren Chen llvm-svn: 130980
-
Duncan Sands authored
return the pointer being dereferenced, it returns the pointee, but a call might return the pointer itself. llvm-svn: 130979
-
Eli Friedman authored
possibly related to cbnz formation. llvm-svn: 130977
-
Hongbin Zheng authored
do not re-generate code for these functions. llvm-svn: 130975
-
Alexis Hunt authored
Explictly defaultedness is correctly reflected on the AST, but there are no changes to how that affects the definition of functions or much else really. llvm-svn: 130974
-
Nick Kledzik authored
llvm-svn: 130970
-
Alexis Hunt authored
direction and not introduce things in the wrong place three different times. llvm-svn: 130968
-
Nick Lewycky authored
llvm-svn: 130967
-