aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
AgeCommit message (Expand)Author
2013-05-06Grab-bag of bit-field fixes:John McCall
2013-05-05ArrayRef'ize Sema::CheckObjCMethodCallDmitri Gribenko
2013-05-05Replace ArrayRef<T>() with None, now that we have an implicit ArrayRef constr...Dmitri Gribenko
2013-04-29c language: diagnose use of "[*]" on any array dimensionFariborz Jahanian
2013-04-10Handle "typeof" in Objective-C format string checking. This previously crashed.Ted Kremenek
2013-03-29Revert r178273 as it broke the Linux bootstrap due to false positivesTimur Iskhodzhanov
2013-03-28Implemented a warning when an input several bitwise operations areSam Panzer
2013-03-25For printf checking, handle nested typedefs for darwin-specific checking.Ted Kremenek
2013-03-15Simplify print logic, per feedback from Jordan Rose.Ted Kremenek
2013-03-15Enhance -Wtautological-constant-out-of-range-compare to include the name of t...Ted Kremenek
2013-03-15c: perform integer overflow check on all binaryFariborz Jahanian
2013-03-15c: Also chek for integer overflow for '%' operator.Fariborz Jahanian
2013-03-15c: add the missing binary operatory when checkingFariborz Jahanian
2013-03-09Add TagDecl::hasNameForLinkage(), which is true if the tagJohn McCall
2013-03-01Fix typos: [Dd]iagnosic -> [Dd]iagnosticStefanus Du Toit
2013-02-20Include llvm::Optional in clang/Basic/LLVM.hDavid Blaikie
2013-02-18Replace TypeLoc llvm::cast support to be well-defined.David Blaikie
2013-02-16Don't warn on conversion from NULL to nullptr_tDavid Blaikie
2013-02-08Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h.Jordan Rose
2013-02-06Use a dyn_cast to avoid a crash when the TypeLoc is not a ConstantArrayTypeLoc.Chad Rosier
2013-01-30Move UTF conversion routines from clang/lib/Basic to llvm/lib/SupportDmitri Gribenko
2013-01-30c: When checking on validity of sizeof passed as size ofFariborz Jahanian
2013-01-24Patch to check for integer overflow. It has beenFariborz Jahanian
2013-01-23Make __attribute__((nonnull)) use the general expression evaluator to search forNick Lewycky
2013-01-17Defer checking for unsequenced operations on the RHS of && and || in order toRichard Smith
2013-01-17-Wunsequenced: if the LHS of an &&, || or ?: is not constant, check forRichard Smith
2013-01-17Attempt to work around bug in older GCCs to fix buildbot.Richard Smith
2013-01-17Add -Wunsequenced (with compatibility alias -Wsequence-point) to warn onRichard Smith
2013-01-13ArrayRef'ize Sema APIs related to format string checkingDmitri Gribenko
2013-01-02s/CPlusPlus0x/CPlusPlus11/gRichard Smith
2012-12-21Tweak Sema::CheckLiteralKind() to also include block literalsTed Kremenek
2012-12-21Change checkUnsafeAssignLiteral() to use the new Sema::CheckLiteralKind().Ted Kremenek
2012-12-21Use descriptive enum instead of raw integers for checkUnsafeAssignLiteral().Ted Kremenek
2012-12-21Sink call to checkUnsafeAssignLiteral() into checkUnsafeAssignObject().Ted Kremenek
2012-12-21Remove duplicate includes.Roman Divacky
2012-12-21Extend checkUnsafeAssigns() to also handle assigning an object literal to a w...Ted Kremenek
2012-12-21Refactor checkUnsafeAssigns() to avoid code duplication with while loop.Ted Kremenek
2012-12-20Revert r170500. It over-zealously converted *ALL* things named Attributes, wh...Bill Wendling
2012-12-19Rename the 'Attributes' class to 'Attribute'. It's going to represent a singl...Bill Wendling
2012-12-05Format strings: offer a cast to 'unichar' for %C in Objective-C contexts.Jordan Rose
2012-12-05Format strings: add more expression types that don't need parens to cast.Jordan Rose
2012-12-05Format strings: a character literal should be printed with %c, not %d.Jordan Rose
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth
2012-11-30Make -Wtautological-constant-out-of-range-compare behave sanely for enums wit...Eli Friedman
2012-11-19Fix some trailing whitespace (on a blank line) to cycle/test bots.David Blaikie
2012-11-16Take into account the zero sign bit for positive numbers when computing the bitRichard Trieu
2012-11-15Fix an off-by-one error by switching < to <= in -Wtautological-constant-out-o...Richard Trieu
2012-11-14Improve -Wtautological-constant-out-of-range-compare by taking into accountRichard Trieu
2012-11-08PR14284: crash on ext-valid returning NULL from a void functionDavid Blaikie
2012-11-03Address review comments for r167358: explicitly check for CK_BitCast instead ofDmitri Gribenko