aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/AnalysisBasedWarnings.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-4/+4
2011-07-22Move duplicate uninitialized warning suppression into theChandler Carruth1-7/+5
2011-07-21Simplify passing of CFGBuildOptions around for AnalysisContext. No functiona...Ted Kremenek1-10/+16
2011-07-19Reduce -Wuninitialized time by 22% (on sqlite) by removing the recursive AST ...Ted Kremenek1-0/+14
2011-07-16Zero this struct in a way that neither depends on the size of the struct nor ...Benjamin Kramer1-0/+1
2011-07-16Remove a gcc warning.Fariborz Jahanian1-1/+1
2011-07-08Initialize all the AnalysisBasedWarnings statistics to zero.Benjamin Kramer1-1/+7
2011-07-06Based on comments from Chris, switch to using CFG::getNumBlockIDs()Chandler Carruth1-3/+2
2011-07-06Build up statistics about the work done for analysis based warnings.Chandler Carruth1-2/+66
2011-07-02When producing -Wuninitialized Fix-Its for pointers, prefer " = NULL"Douglas Gregor1-1/+9
2011-05-11Teach CFG building how to deal with CXXMemberCallExprs and BoundMemberTy,John McCall1-1/+6
2011-04-05Simplify the tracking of when to issue a fixit hint, making the helperChandler Carruth1-13/+18
2011-04-05Separate the logic for issuing the initialization fixit hint from theChandler Carruth1-4/+10
2011-04-05Begin refactoring the uninitialized warning code that I uglied up. ThisChandler Carruth1-91/+94
2011-04-05Fix PR9624 by explicitly disabling uninitialized warnings for direct self-init:Chandler Carruth1-17/+28
2011-04-05Cleanup the style of some of this code prior to functional changes.Chandler Carruth1-25/+28
2011-04-04Fix PR 9626 (duplicated self-init warnings under -Wuninitialized) with numero...Ted Kremenek1-9/+21
2011-04-04-Wuninitialized: use "self-init" warning when issue uninitialized values warn...Ted Kremenek1-2/+45
2011-04-04-Wuninitialized: don't issue fixit for initializer if a variable declaration ...Ted Kremenek1-0/+4
2011-03-19Rename class 'CFGReachabilityAnalysis' to 'CFGReverseBlockReachabilityAnalysis'.Ted Kremenek1-1/+1
2011-03-17Don't construct two CFGs just to run -Wuninitialized. While this causes new ...Ted Kremenek1-18/+1
2011-03-15Split warnings from -Wuninitialized-experimental into "must-be-initialized" a...Ted Kremenek1-0/+2
2011-03-15Split warnings from -Wuninitialized-experimental into "must-be-initialized" a...Ted Kremenek1-10/+18
2011-03-15Rename UninitializedValuesV2 to UninitializedValues.Ted Kremenek1-1/+1
2011-03-10When doing reachability analysis for warnings issued under DiagRuntimeBehavio...Ted Kremenek1-14/+30
2011-03-03Teach CFGImplicitDtor::getDestructorDecl() about arrays of objects with destr...Ted Kremenek1-1/+1
2011-03-02Introduce CFGImplicitDtor::isNoReturn() to query whether a destructor actuall...Ted Kremenek1-0/+15
2011-02-23Enhance Sema::DiagRuntimeBehavior() to delay some diagnostics to see if the r...Ted Kremenek1-3/+47
2011-02-23Have IdempotentOperationsChecker pull its CFGStmtMap from AnalysisContext.Ted Kremenek1-0/+1
2011-02-23Issue AnalysisBasedWarnings as part of calling Sema::PopBlockOrFunctionScope(...Ted Kremenek1-23/+4
2011-02-05Don't suggest -Wuninitialized fixits for uninitialized enum types.Ted Kremenek1-1/+3
2011-02-02Based on user feedback, swap -Wuninitialized diagnostics to have the warning ...Ted Kremenek1-32/+37
2011-02-01Add temporary hack to -Wuninitialize to create a separate CFG (for C++ code) ...Ted Kremenek1-1/+18
2011-01-27Tweak -Wuninitialized fixit for '_Bool' types to be initialized to 0, and C++...Ted Kremenek1-1/+1
2011-01-27Teach -Wuninitialized to suggest "= false" for initializing bool variables.Ted Kremenek1-0/+3
2011-01-26Teach -Wreturn-type that destructors can appearTed Kremenek1-11/+14
2011-01-25Fix regression in -Wreturn-type caused by notTed Kremenek1-12/+3
2011-01-25Teach -Wuninitialized-experimental to also warnTed Kremenek1-10/+17
2011-01-21Provide -Wuninitialized-experimental fixitsTed Kremenek1-3/+10
2011-01-21Add basic fixits for -Wuninitialized-experimentalTed Kremenek1-1/+20
2011-01-21Enhance -Wuninitialized-experimental diagnosticsTed Kremenek1-3/+51
2011-01-18Teach UninitializedValuesV2 to implicitly reason about C++Ted Kremenek1-7/+3
2011-01-17Handle base and member destructors in CheckFallThrough.Anders Carlsson1-1/+10
2011-01-16Fix a bug where the -Wmissing-noreturn would always treat constructors with b...Anders Carlsson1-0/+6
2011-01-15Add initial prototype for implementation ofTed Kremenek1-0/+30
2011-01-08Remove a kludge from analysis based warnings that used to detectChandler Carruth1-14/+2
2010-12-15Fix diagnostic pragmas.Argyrios Kyrtzidis1-9/+16
2010-12-06Rename CXXExprWithTemporaries -> ExprWithCleanups; there's no theoreticalJohn McCall1-1/+1
2010-09-16Introduce new CFGElement hierarchy to support C++ CFG, based on Marcin's patchZhongxing Xu1-1/+5
2010-09-09Enhance -Wreturn-type to not warn when control-flow is most likely limited by...Ted Kremenek1-5/+9