aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
AgeCommit message (Expand)Author
2012-06-08Remove a commented out variable declaration. This was originally a debuggingRichard Trieu
2012-06-06Revert Decl's iterators back to pointer value_type rather than reference valu...David Blaikie
2012-06-06Remove unused private member variables found by clang's new -Wunused-private-...Benjamin Kramer
2012-05-24Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conce...Eli Friedman
2012-05-16Use a llvm::SmallString rather than std::string for duplicate-case errorsDouglas Gregor
2012-05-16Produce more useful 'duplicate case' diagnostics. Fixes PR9243, from Terry Long!Douglas Gregor
2012-05-15PR12826: Converting an lvalue to an xvalue is a no-op conversion, not an lval...Richard Smith
2012-05-08Bind cleanups after doing l2r conversion on the operand of aJohn McCall
2012-05-04Move Sema::VerifyIntegerConstantExpression() andDouglas Gregor
2012-05-04Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType()Douglas Gregor
2012-05-04Skip checking for infinite for-loops if there are global or static variablesRichard Trieu
2012-04-30Add -Wloop-analysis. This warning will fire on for loops which the variablesRichard Trieu
2012-04-30Remove the ref/value inconsistency in filter_decl_iterator.David Blaikie
2012-04-14Add an AttributedStmt type to represent a statement with C++11 attributesRichard Smith
2012-03-30Handle placeholder expressions in an ObjC for-collection loop.John McCall
2012-03-30Make sure we perform the relevant implied conversions correctly for ObjC meth...Eli Friedman
2012-03-21For enums with no tag name, display its location in Fariborz Jahanian
2012-03-21fixes the diagnostic issued in // rdar://11069896Fariborz Jahanian
2012-03-21Allow void blocks to return witn a void expression in Fariborz Jahanian
2012-03-21Undo previous patch as I checked more than I intended.Fariborz Jahanian
2012-03-21modern objective-c rewriter: remove 'const' fromFariborz Jahanian
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie
2012-03-06Add clang support for new Objective-C literal syntax for NSDictionary, NSArray,Ted Kremenek
2012-02-22Doug's review comments.Sebastian Redl
2012-02-22Fix parsing and processing initializer lists in return statements and as dire...Sebastian Redl
2012-02-15Specialize noreturn diagnostics for lambda expressions.Douglas Gregor
2012-02-15Fix silly precedence error.Douglas Gregor
2012-02-15Specialize the diagnostic complaining about conflicting types ofDouglas Gregor
2012-02-14Generalize -Wempty-body: warn when statement body is empty (closes: PR11329)Dmitri Gribenko
2012-02-09Don't allow deduction of a lambda result type from an initializerDouglas Gregor
2012-02-04In C++11 mode, when an integral constant expression is desired and we have aRichard Smith
2012-02-04Don't allow a value of a scoped enumeration to be used as the first bound for anRichard Smith
2012-01-31Make sure we call MaybeCreateExprWithCleanups for the sub-expression of an in...Eli Friedman
2012-01-27Added source location for the template keyword in AST template-id expressions.Abramo Bagnara
2012-01-26Refactor to share code for handling return statements between lambda expressi...Eli Friedman
2012-01-26Slight refactoring; catch yet another case where we were missing an lvalue-to...Eli Friedman
2012-01-25Allow typo correction to be disabled in BuildOverloadedCallExpr variant.Kaelyn Uhrain
2012-01-23Minor fixups for auto deduction of initializer lists.Sebastian Redl
2012-01-23Implement -Wswitch-enum correctly.David Blaikie
2012-01-23Make sure the AST correctly represents lvalue-to-rvalue conversions where app...Eli Friedman
2012-01-22Fix -Wswitch to warn about out of bounds enum cases even when there's a defaultDavid Blaikie
2012-01-21Add -Wswitch-enum-redundant-default.David Blaikie
2012-01-18constexpr: converted constant expression handling for enumerator values, caseRichard Smith
2012-01-17Auto deduction support for std::initializer_list, including for-range support...Sebastian Redl
2012-01-06Suppress -Wunused-value within macros from system headers.Matt Beaumont-Gay
2012-01-05Minor cleanup; no functional change.Eli Friedman
2011-12-28Small refactoring and simplification of constant evaluation and some of itsRichard Smith
2011-12-03Move block return type inference diagnostic to a common place whereFariborz Jahanian
2011-12-03If block literal return type is not specified, return type of the block is Fariborz Jahanian
2011-11-14Use Sema::RequireCompleteType to check for the completeness ofDouglas Gregor