aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaChecking.cpp
AgeCommit message (Expand)Author
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
2012-09-15const _Atomic(T) is not an atomic type, so do not allow it as the type 'A' inRichard Smith
2012-09-15-Warc-retain-cycles: warn at variable initialization as well as assignment.Jordan Rose
2012-09-13Format strings: offer a fixit for Darwin's %D/%U/%O to ISO %d/%u/%o.Jordan Rose
2012-09-13Format strings: %D, %U, and %O are valid on Darwin (same as %d, %u, %o).Jordan Rose
2012-09-08Format strings: suggest %lld instead of %qd and %Ld with -Wformat-non-iso.Jordan Rose
2012-09-08Format strings: %Ld isn't available on Darwin or Windows.Jordan Rose
2012-09-06Dont cast away const needlessly. Found by gcc48 -Wcast-qual.Roman Divacky
2012-09-05Format strings: suggest casts for NS(U)Integer and [SU]Int32 on Darwin.Jordan Rose
2012-09-05Format string checking: change long if-statement to early returns.Jordan Rose
2012-08-31objective-C ARC; detect and warn on retain cycle whenFariborz Jahanian
2012-08-31Change the representation of builtin functions in the ASTEli Friedman
2012-08-28Warn about suspicious implicit conversions from floating point to boolHans Wennborg
2012-08-27Support MIPS DSP Rev2 intrinsics.Simon Atanasyan
2012-08-24Push ArrayRef through the Expr hierarchy.Benjamin Kramer
2012-08-23Rip out remnants of move semantic emulation and smart pointers in Sema.Benjamin Kramer