aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX
AgeCommit message (Expand)Author
2011-02-17Implement a sub-group of -Wconversion: -Wliteral-conversion. ThisChandler Carruth
2011-02-17Implement -Wenum-compare, which warns when comparing two enums ofChandler Carruth
2011-02-17When printing a qualified type, look through a substituted templateDouglas Gregor
2011-02-17Fix PR9025 and add a diagnostic (and sometimes a fixit) for an overloadedMatt Beaumont-Gay
2011-02-16Fix assertion failure in -Warray-bounds on template parameters used as arrays.Ted Kremenek
2011-02-14Provide overload diagnostics when explicit casts involving class types fail.John McCall
2011-02-14When parsing an out-of-line member function declaration, we must delayJohn McCall
2011-02-12Implement objective-c++'s block pointer type matching involvingFariborz Jahanian
2011-02-10For -Woverloaded-virtual take into account canonical methods. Fixes rdar://89...Argyrios Kyrtzidis
2011-02-10Move the check that gives functions with unique-external types unique-externalJohn McCall
2011-02-08When checking the 'weak' and 'weakref' attributes, look for non-externalJohn McCall
2011-02-08Test case accidentally left out of my last commit.John McCall
2011-02-08In Sema::CheckShadow, get the DeclContext from the variable that we are checkingArgyrios Kyrtzidis
2011-02-07Move uninitialized variable checking back under -Wuninitialized-experimental....Ted Kremenek
2011-02-07pre/post ++/-- for AltiVec vectors. (with builtins-ppc-altivec.c failure fixed)Anton Yartsev
2011-02-05When the out-of-line definition differs from the declaration in the return type,Argyrios Kyrtzidis
2011-02-05Don't suggest -Wuninitialized fixits for uninitialized enum types.Ted Kremenek
2011-02-03Implement -Woverloaded-virtual.Argyrios Kyrtzidis
2011-02-02Based on user feedback, swap -Wuninitialized diagnostics to have the warning ...Ted Kremenek
2011-02-02Turn test for // rdar://8945175 into a sema test.Fariborz Jahanian
2011-02-02Don't warn for -Wnon-virtual-dtor for dependent classes.Argyrios Kyrtzidis
2011-02-02Remove redundant check to not warn for warn_equality_with_extra_parens if we ...Ted Kremenek
2011-02-01Don't warn about extraneous '()' around a comparison if it occurs within a ma...Ted Kremenek
2011-02-01Don't warn for "if ((a == b))" if the parens came from a macro. Thanks to Far...Argyrios Kyrtzidis
2011-02-01For "if ((a == b))" only warn if 'a' is a modifiable l-value. Caught by John!Argyrios Kyrtzidis
2011-02-01Warn for "if ((a == b))" where the equality expression is needlessly wrapped ...Argyrios Kyrtzidis
2011-02-01Implement access checking for the "delete" operator. Fixes PR9050,Douglas Gregor
2011-01-31Only warn for -Wnon-virtual-dtor for public destructors. Thanks to Benjamin K...Argyrios Kyrtzidis
2011-01-31Implement the suggested resolution to core issue 547, extended to alsoDouglas Gregor
2011-01-31Warn if the class has virtual methods but non-virtual destructor. Addresses r...Argyrios Kyrtzidis
2011-01-31Don't warn that variables in C++ static member functions shadow fields. Fixes...Argyrios Kyrtzidis
2011-01-31If there were errors, disable 'unused' warnings since they will mostly be noise.Argyrios Kyrtzidis
2011-01-31Error for use of field from anonymous struct or union should say "invalid use...Argyrios Kyrtzidis
2011-01-28Fix some corner cases in the __is_base_of logic.John McCall
2011-01-28Give OpaqueValueExpr a source location, because its source locationDouglas Gregor
2011-01-27Teach the evaluation of the __is_convertible_to trait to translateDouglas Gregor
2011-01-27Implement the Microsoft __is_convertible_to type trait, modeling theDouglas Gregor
2011-01-27Revert r124217 because it didn't catch the actual error case it was trying toJeffrey Yasskin
2011-01-26Teach -Wreturn-type that destructors can appearTed Kremenek
2011-01-26Merge -Wuninitialized-experimental into -Wuninitialized.Ted Kremenek
2011-01-25Fix infinite loop during error diagnostics. Fixes rdar://8875304.Argyrios Kyrtzidis
2011-01-25Tweak return-noreturn.cpp test to have its originalTed Kremenek
2011-01-25Fix regression in -Wreturn-type caused by notTed Kremenek
2011-01-25Add an attribute to forbid temporary instances of a type. This allows classJeffrey Yasskin
2011-01-24Revert r124146 for now. It appears to be failing on a few platforms.Eric Christopher
2011-01-24pre/post increase/decrease for AltiVec vectorsAnton Yartsev
2011-01-24Enhance the diagnostic for referring to a typedef with an elaborated name to beNick Lewycky
2011-01-24Re-instate r123977/r123978, my updates of the reference-bindingDouglas Gregor
2011-01-24Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the excepti...Anders Carlsson
2011-01-23Get rid of [[hiding]], [[override]] and [[base_check]].Anders Carlsson