aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
AgeCommit message (Expand)Author
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
2012-11-03Handle CK_NullToPointer casts in -Wtype-safety properly. Fixes PR14249.Dmitri Gribenko
2012-10-11Add null check for malformed code.Ted Kremenek
2012-10-11Minor cleanup for r165678; no functional change.Eli Friedman
2012-10-11Make sure we perform the variadic method check correctly for calls to a membe...Eli Friedman
2012-10-02Check if an IdentifierInfo* is null when the FunctionDecl isn't a simple C fu...Ted Kremenek
2012-10-02-Wformat: Don't check format strings in uninstantiated templates.Jordan Rose
2012-09-28-Warc-repeated-use-of-weak: check ivars and variables as well.Jordan Rose
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-09-22Avoid multiple atomic builtin declaration.Abramo Bagnara
2012-09-20Improvements to my patch in r164143 perFariborz Jahanian
2012-09-18minor refactoring of my last check-in.Fariborz Jahanian
2012-09-18c: warn when an integer value comparison with anFariborz Jahanian
2012-09-17-Warc-retain-cycles: look through [^{...} copy] and Block_copy(^{...})Jordan Rose