aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/AnalysisBasedWarnings.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-07-05Address comments that escaped D33333Erich Keane1-7/+12
2017-06-29Fixed -Wexceptions derived-to-base false positivesStephan Bergmann1-1/+5
2017-06-23Emit warning when throw exception in destruct or dealloc functions which has a Erich Keane1-0/+150
2017-05-25[coroutines] Fix fallthrough diagnostics for coroutinesEric Fiselier1-17/+13
2017-05-22[coroutines] Build GRO declaration and return GRO statementGor Nishanov1-1/+5
2017-03-22Suppress warning on unreachable [[clang::fallthrough]] within a template inst...Richard Smith1-4/+13
2017-01-12Avoid multiple -Wunreachable-code diagnostics that are triggered byAlex Lorenz1-0/+10
2016-10-27[coroutines] Build fallthrough and set_exception statements.Eric Fiselier1-12/+43
2016-07-18[NFC] Header cleanupMehdi Amini1-5/+0
2016-07-13[PCH/preamble] Make sure that if the preamble/PCH was serialized with errors ...Argyrios Kyrtzidis1-1/+1
2016-05-25Rename a variable to avoid shadowing function parameter. NFC.Bob Wilson1-7/+7
2016-05-25arc-repeated-use-of-weak should not warn about IBOutlet propertiesBob Wilson1-0/+6
2016-04-29Avoid -Wshadow warnings about constructor parameters named after fieldsReid Kleckner1-1/+1
2016-03-08P0188R1: add support for standard [[fallthrough]] attribute. This is almostRichard Smith1-11/+32
2015-12-10[Sema] Replace pointer-to-map with a map. NFC.George Burgess IV1-12/+6
2015-11-15Use Sema::getLocForEndOfToken instead of Preprocessor::getLocForEndOfToken. NFCCraig Topper1-3/+1
2015-10-22Define weak and __weak to mean ARC-style weak references, even in MRC.John McCall1-1/+1
2015-10-06Fix Clang-tidy modernize-use-nullptr warnings in source directories; other mi...Hans Wennborg1-14/+13
2015-08-21Fix a few things with -Winfinite-recursion. NFCRichard Trieu1-42/+48
2015-07-30Use llvm::reverse to make a bunch of loops use foreach. NFC.Pete Cooper1-2/+1
2015-07-23Sema: Avoid a stack overflow on large CFGsDuncan P. N. Exon Smith1-16/+24
2015-07-23Sema: Split out helper from checkForFunctionCall(), NFCDuncan P. N. Exon Smith1-37/+37
2015-07-02Switch users of the 'for (StmtRange range = stmt->children(); range; ++range)...Benjamin Kramer1-5/+4
2015-06-22Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").Alexander Kornienko1-10/+7
2015-06-22Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-7/+10
2015-06-10add ConstEvaluatedExprVisitorScott Douglass1-8/+9
2015-06-03Append CXXDefaultInitExpr's wrapped expression to the CFG when visiting a con...Enrico Pertoso1-0/+1
2015-05-29Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial typesBenjamin Kramer1-31/+31
2015-04-11Use 'override/final' instead of 'virtual' for overridden methodsAlexander Kornienko1-14/+9
2015-03-19Move ThreadSafetyReporter into an anonymous namespace. NFC.Benjamin Kramer1-4/+4
2015-02-16Move helper class into an anonymous namespace.Benjamin Kramer1-1/+2
2015-02-03Thread Safety Analysis: add support for before/after annotations on mutexes.DeLesley Hutchins1-2/+19
2015-02-03Revert "Thread Safety Analysis: add support for before/after annotations on m...Reid Kleckner1-19/+2
2015-02-03Thread Safety Analysis: add support for before/after annotations on mutexes.DeLesley Hutchins1-2/+19
2014-11-19Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator...David Blaikie1-2/+2
2014-10-24Report when a function-try-block does not return a value on all control paths...Aaron Ballman1-36/+29
2014-10-01Adds 'override' to overriding methods. NFC.Fariborz Jahanian1-1/+1
2014-09-18Thread Safety Analysis: add new warning flag, -Wthread-safety-reference, whichDeLesley Hutchins1-1/+34
2014-08-15Const-correctness, return-after-else, and formatting updates. NFC.Aaron Ballman1-12/+10
2014-08-14Thread safety analysis: add -Wthread-safety-verbose flag, which adds addition...DeLesley Hutchins1-12/+60
2014-08-04Thread Safety Analysis: add a -Wthread-safety-negative flag that warns wheneverDeLesley Hutchins1-0/+9
2014-07-28Thread Safety Analysis: Replace the old and broken SExpr with the newDeLesley Hutchins1-6/+6
2014-07-08rewrap to 80 cols, no behavior changeNico Weber1-2/+3
2014-06-24Fix "warning: fallthrough annotation does not directly precede switch label" ...Alexander Kornienko1-0/+3
2014-06-15Hide the concept of diagnostic levels from lex, parse and semaAlp Toker1-31/+21
2014-05-26[C++11] Use 'nullptr'. Sema edition.Craig Topper1-6/+6
2014-05-20Add a check for tautological bitwise comparisons to -Wtautological-compare.Jordan Rose1-0/+9
2014-05-15Refactoring some for loops to use range-based for loops instead. No functiona...Aaron Ballman1-84/+46
2014-05-03Fix a bunch of mislayered clang/Lex includes from SemaAlp Toker1-3/+3
2014-04-15Fix a bad interaction between -Wtautological-overlap-compare and delayedRichard Trieu1-4/+11