aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-07Perform overload resolution when static_cast'ing from aDouglas Gregor
pointer-to-member-to-derived to a pointer-to-member-to-base. Fixes PR6072. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97923 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Reference binding via user-defined conversion can compute a bindingDouglas Gregor
that is not reference-related (because it requires another implicit conversion to which we can find). Fixes PR6483. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97922 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Undefine correct macroKovarththanan Rajaratnam
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97920 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07implement support for -Wno-deprecated, PR6534. WhileChris Lattner
I'm in there, change the altivec diagnostics to use 'double' instead of "double" for consistency. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97919 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Don't rely on implicit conversionKovarththanan Rajaratnam
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97916 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Rename to addPPCallbacks since we're effectively adding a callback and maybe ↵Kovarththanan Rajaratnam
chaining it to an existing one git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97913 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Don't assert if PP already contains a valid PP callback. The PP can handle ↵Kovarththanan Rajaratnam
multiple callbacks (using PPChainedCallbacks) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97910 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add sse4.1 packed min and max intrinsics.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97907 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add load hint instruction intrinsic.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97904 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add in movntdqa intrinsic for load hint.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97903 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add in support for dword multiply and fp dot product intrinsics.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97902 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add in dot product intrinsics for dpps and dppd.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97901 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Fix for PR6294: we should only delay recording nested dynamic classes if theyEli Friedman
are lexically nested. Othewise, we never end up recording semantically nested classes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97900 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Don't turn off mangling in implicitly extern "C" system headers. GCCDouglas Gregor
doesn't do this on any of the major platforms, and we don't really support any of the platforms that do (nor will we actually handle those headers well). Fixes PR6217; see PR6530 for details on what we would need to do to support these platforms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97899 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Fix 80 col violation.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97898 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Don't produce debug info when given -g. Fixes PR6529.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97897 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Fix indentation, use string directly instead of StringRef.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97896 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Fix some weird patch issue.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97894 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Implement missing-braces warning and add a test case.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97893 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07disable these dirs which rely on dynamic linking on mingw/cygwinChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97892 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06add mblaze target support, patch by Wesley Peck!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97890 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06on both the mac and linux, /usr/local/include is treated Chris Lattner
as a "C++ Friendly" system header directory. This fixes PR6523. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97885 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Rename the new Iterator objects and raise an assertion instead of returning ↵Benjamin Kramer
invalid objects when the key is out of range. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97881 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Update the python bindings for recent changes in the CIndex API.Benjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97880 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Lowercase for consistencyKovarththanan Rajaratnam
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97878 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Fix _MM_FROUND_NEARBYINT and move rounding intrinsics to macros.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97874 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Add a message to these asserts.Benjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97873 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Use static method in GlobalValueRafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97872 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06PR6515: Implement __builtin_signbit and friends.Eli Friedman
I'm reasonably sure my implementation is correct, but it would be nice if someone could double-check. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97864 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Allow use of byref (__block attributed) arrays insideFariborz Jahanian
the block. Fixes radar 7671883. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97863 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Implement __builtin_dwarf_sp_column for i386 (Darwin and not), x86-64 (all),John McCall
and ARM. Implement __builtin_init_dwarf_reg_size_table for i386 (both) and x86-64 (all). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97859 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05When declaring a catch block in C++, make sure that the type beingDouglas Gregor
caught can be copy-initialized and destructed. Fixes PR6518. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97853 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Augment __has_feature to report that Clang supports adding attribute 'unused'Ted Kremenek
to an Objective-C instance variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97850 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Check if 'Unit' is NULL before trying to iterate over the diagnostics.Ted Kremenek
This obviates a null dereference that can occur when 'NumErrors' is not zero. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97849 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Add clang version to crashtracer string.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97848 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Patch to build qualifier on objective-cFariborz Jahanian
pointer types. Fixes radar 7626768. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97847 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05The Windows build is just too weird; there's no real cost to doing the ↵Douglas Gregor
concurrency checks for ASTUnit in all builds git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97840 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Switch from NDEBUG to _DEBUG, since our Windows build is funnyDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97835 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Only make __ptr64 and __w64 keywords when Microsoft extensions are enabled.Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97834 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05A little hack to identify unwanted concurrency in CIndexDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97831 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Emit warning on indirect goto that potentially violates Chris Lattner
scope instead of error, PR6517 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97826 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05address PR6502 by downgrading the scope checker's addressChris Lattner
of label error to a warning controllable with a -W flag. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97815 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Use clang::io::Emit8Kovarththanan Rajaratnam
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97810 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Make sure the raw_string_ostream gets flushed so we don't accidentally ↵Benjamin Kramer
return an empty string. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97809 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Remove reference to AnalysisContext in Environment. We already have ↵Zhongxing Xu
LocationContext information in ExplodedNode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97785 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Remove header file dependencies in block patchFariborz Jahanian
test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97777 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05add support for a 1<<29 bit in the block flags field to mark blocks using ↵Blaine Garst
alternate struct return ABI git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97775 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05Don't produce an alias for a destructor if the target is weak.Rafael Espindola
This fixes bootstrap on ELF systems :-) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97773 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-05When we invalidate a declaration, make it public, so that it doesn'tDouglas Gregor
trigger access control or one of the many assertions we have for valid access specifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97767 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-04Make rewritten source compiled with clang++.Fariborz Jahanian
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97762 91177308-0d34-0410-b5e6-96231b3b80d8