r340452 - [NFC] Test commit

2018-08-22 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Wed Aug 22 14:06:04 2018 New Revision: 340452 URL: http://llvm.org/viewvc/llvm-project?rev=340452=rev Log: [NFC] Test commit Modified: cfe/trunk/lib/Analysis/ThreadSafety.cpp Modified: cfe/trunk/lib/Analysis/ThreadSafety.cpp URL:

r340575 - Remove unnecessary const_cast [NFC]

2018-08-23 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Thu Aug 23 14:13:32 2018 New Revision: 340575 URL: http://llvm.org/viewvc/llvm-project?rev=340575=rev Log: Remove unnecessary const_cast [NFC] This required adding a few const specifiers on functions. Also a minor formatting fix suggested in D49885. Modified:

r340580 - Remove more const_casts by using ConstStmtVisitor [NFC]

2018-08-23 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Thu Aug 23 14:53:04 2018 New Revision: 340580 URL: http://llvm.org/viewvc/llvm-project?rev=340580=rev Log: Remove more const_casts by using ConstStmtVisitor [NFC] Again, this required adding some const specifiers. Modified: cfe/trunk/lib/Analysis/ThreadSafety.cpp

r340459 - Thread safety analysis: Allow relockable scopes

2018-08-22 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Wed Aug 22 15:14:53 2018 New Revision: 340459 URL: http://llvm.org/viewvc/llvm-project?rev=340459=rev Log: Thread safety analysis: Allow relockable scopes Summary: It's already allowed to prematurely release a scoped lock, now we also allow relocking it again, possibly

r343681 - Thread safety analysis: Unwrap __builtin_expect in getTrylockCallExpr

2018-10-03 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Wed Oct 3 04:58:19 2018 New Revision: 343681 URL: http://llvm.org/viewvc/llvm-project?rev=343681=rev Log: Thread safety analysis: Unwrap __builtin_expect in getTrylockCallExpr Summary: When people are really sure they'll get the lock they sometimes use

r343831 - Thread safety analysis: Examine constructor arguments

2018-10-04 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Thu Oct 4 16:51:14 2018 New Revision: 343831 URL: http://llvm.org/viewvc/llvm-project?rev=343831=rev Log: Thread safety analysis: Examine constructor arguments Summary: Instead of only examining call arguments, we also examine constructor arguments applying the same

r343902 - Thread safety analysis: Handle conditional expression in getTrylockCallExpr

2018-10-05 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Fri Oct 5 18:09:28 2018 New Revision: 343902 URL: http://llvm.org/viewvc/llvm-project?rev=343902=rev Log: Thread safety analysis: Handle conditional expression in getTrylockCallExpr Summary: We unwrap conditional expressions containing try-lock functions.

r342600 - Thread safety analysis: Handle ObjCIvarRefExpr in SExprBuilder::translate

2018-09-19 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Wed Sep 19 16:57:38 2018 New Revision: 342600 URL: http://llvm.org/viewvc/llvm-project?rev=342600=rev Log: Thread safety analysis: Handle ObjCIvarRefExpr in SExprBuilder::translate Summary: This imitates the code for MemberExpr. Fixes PR38896. Reviewers:

r342605 - Thread Safety Analysis: warnings for attributes without arguments

2018-09-19 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Wed Sep 19 17:39:27 2018 New Revision: 342605 URL: http://llvm.org/viewvc/llvm-project?rev=342605=rev Log: Thread Safety Analysis: warnings for attributes without arguments Summary: When thread safety annotations are used without capability arguments, they are assumed

r342787 - Thread safety analysis: Make sure FactEntrys stored in FactManager are immutable [NFC]

2018-09-21 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Fri Sep 21 16:08:30 2018 New Revision: 342787 URL: http://llvm.org/viewvc/llvm-project?rev=342787=rev Log: Thread safety analysis: Make sure FactEntrys stored in FactManager are immutable [NFC] Since FactEntrys are stored in the FactManager, we can't manipulate them

r342790 - Thread safety analysis: Make printSCFG compile again [NFC]

2018-09-21 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Fri Sep 21 16:46:35 2018 New Revision: 342790 URL: http://llvm.org/viewvc/llvm-project?rev=342790=rev Log: Thread safety analysis: Make printSCFG compile again [NFC] Not used productively, so no observable functional change. Note that printSCFG doesn't yet work

r342823 - Eliminate some unneeded signed/unsigned conversions

2018-09-22 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Sat Sep 22 14:56:16 2018 New Revision: 342823 URL: http://llvm.org/viewvc/llvm-project?rev=342823=rev Log: Eliminate some unneeded signed/unsigned conversions No functional change is intended, but generally this should be a bit more safe. Modified:

r349308 - Thread safety analysis: Avoid intermediate copies [NFC]

2018-12-16 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Sun Dec 16 08:19:11 2018 New Revision: 349308 URL: http://llvm.org/viewvc/llvm-project?rev=349308=rev Log: Thread safety analysis: Avoid intermediate copies [NFC] The main reason is to reduce the number of constructor arguments though, especially since many of them had

r349300 - Thread safety analysis: Allow scoped releasing of capabilities

2018-12-16 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Sun Dec 16 06:15:30 2018 New Revision: 349300 URL: http://llvm.org/viewvc/llvm-project?rev=349300=rev Log: Thread safety analysis: Allow scoped releasing of capabilities Summary: The pattern is problematic with C++ exceptions, and not as widespread as scoped locks, but

r342418 - Thread safety analysis: Run more tests with capability attributes [NFC]

2018-09-17 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Mon Sep 17 14:37:22 2018 New Revision: 342418 URL: http://llvm.org/viewvc/llvm-project?rev=342418=rev Log: Thread safety analysis: Run more tests with capability attributes [NFC] Summary: We run the tests for -Wthread-safety-{negative,verbose} with the new attributes

r342519 - Thread safety analysis: Fix crash for function pointers

2018-09-18 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Tue Sep 18 17:19:38 2018 New Revision: 342519 URL: http://llvm.org/viewvc/llvm-project?rev=342519=rev Log: Thread safety analysis: Fix crash for function pointers For function pointers, the FunctionDecl of the callee is unknown, so getDirectCallee will return nullptr.

r356427 - Thread safety analysis: Add note for unlock kind mismatch

2019-03-18 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Mon Mar 18 16:26:54 2019 New Revision: 356427 URL: http://llvm.org/viewvc/llvm-project?rev=356427=rev Log: Thread safety analysis: Add note for unlock kind mismatch Summary: Similar to D56967, we add the existing diag::note_locked_here to tell the user where we saw the

r356430 - Minor renaming as suggested in review [NFC]

2019-03-18 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Mon Mar 18 17:14:46 2019 New Revision: 356430 URL: http://llvm.org/viewvc/llvm-project?rev=356430=rev Log: Minor renaming as suggested in review [NFC] See D59455. Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafety.h

r356228 - Add missing override specifier [NFC]

2019-03-14 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Thu Mar 14 19:30:07 2019 New Revision: 356228 URL: http://llvm.org/viewvc/llvm-project?rev=356228=rev Log: Add missing override specifier [NFC] This should fix a -Winconsistent-missing-override warning that is only visible when Z3 is enabled. Modified:

r352549 - Thread safety analysis: Improve diagnostics for double locking

2019-01-29 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Tue Jan 29 14:11:42 2019 New Revision: 352549 URL: http://llvm.org/viewvc/llvm-project?rev=352549=rev Log: Thread safety analysis: Improve diagnostics for double locking Summary: We use the existing diag::note_locked_here to tell the user where we saw the first

r352574 - Fix thread safety tests after r352549

2019-01-29 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Tue Jan 29 16:18:24 2019 New Revision: 352574 URL: http://llvm.org/viewvc/llvm-project?rev=352574=rev Log: Fix thread safety tests after r352549 Modified: cfe/trunk/test/PCH/thread-safety-attrs.cpp cfe/trunk/test/Sema/warn-thread-safety-analysis.c Modified:

r362266 - Clarify when fix-it hints on warnings are appropriate

2019-05-31 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Fri May 31 14:27:39 2019 New Revision: 362266 URL: http://llvm.org/viewvc/llvm-project?rev=362266=rev Log: Clarify when fix-it hints on warnings are appropriate Summary: This is not a change in the rules, it's meant as a clarification about warnings. Since the recovery

r363496 - [Clang] Harmonize Split DWARF options with llc

2019-06-15 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Sat Jun 15 08:38:51 2019 New Revision: 363496 URL: http://llvm.org/viewvc/llvm-project?rev=363496=rev Log: [Clang] Harmonize Split DWARF options with llc Summary: With Split DWARF the resulting object file (then called skeleton CU) contains the file name of another

r363494 - [Clang] Rename -split-dwarf-file to -split-dwarf-output

2019-06-15 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Sat Jun 15 07:07:43 2019 New Revision: 363494 URL: http://llvm.org/viewvc/llvm-project?rev=363494=rev Log: [Clang] Rename -split-dwarf-file to -split-dwarf-output Summary: This is the first in a series of changes trying to align clang -cc1 flags for Split DWARF with

r363749 - Suggestions to fix -Wmissing-{prototypes, variable-declarations}

2019-06-18 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Tue Jun 18 15:57:08 2019 New Revision: 363749 URL: http://llvm.org/viewvc/llvm-project?rev=363749=rev Log: Suggestions to fix -Wmissing-{prototypes,variable-declarations} Summary: I've found that most often the proper way to fix this warning is to add `static`, because

r363754 - Fix tests after r363749

2019-06-18 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Tue Jun 18 16:40:17 2019 New Revision: 363754 URL: http://llvm.org/viewvc/llvm-project?rev=363754=rev Log: Fix tests after r363749 We changed -Wmissing-prototypes there, which was used in these tests via -Weverything. Modified:

r363748 - Show note for -Wmissing-prototypes for functions with parameters

2019-06-18 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Tue Jun 18 15:52:39 2019 New Revision: 363748 URL: http://llvm.org/viewvc/llvm-project?rev=363748=rev Log: Show note for -Wmissing-prototypes for functions with parameters Summary: There was a search for non-prototype declarations for the function, but we only showed

[clang-tools-extra] r363760 - Fix more tests after r363749

2019-06-18 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Tue Jun 18 18:54:05 2019 New Revision: 363760 URL: http://llvm.org/viewvc/llvm-project?rev=363760=rev Log: Fix more tests after r363749 Apparently -Wmissing-prototypes is used for quite a few integration tests. Modified:

r364479 - [Clang] Remove unused -split-dwarf and obsolete -enable-split-dwarf

2019-06-26 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Wed Jun 26 14:36:35 2019 New Revision: 364479 URL: http://llvm.org/viewvc/llvm-project?rev=364479=rev Log: [Clang] Remove unused -split-dwarf and obsolete -enable-split-dwarf Summary: The changes in D59673 made the choice redundant, since we can achieve single-file

r364480 - Fix formatting after r364479

2019-06-26 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Wed Jun 26 14:39:19 2019 New Revision: 364480 URL: http://llvm.org/viewvc/llvm-project?rev=364480=rev Log: Fix formatting after r364479 The reflowing obscurs the functional changes, so here is a separate commit. Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

r373148 - Don't install example analyzer plugins

2019-09-28 Thread Aaron Puchert via cfe-commits
Author: aaronpuchert Date: Sat Sep 28 06:28:50 2019 New Revision: 373148 URL: http://llvm.org/viewvc/llvm-project?rev=373148=rev Log: Don't install example analyzer plugins Summary: Fixes PR43430. Reviewers: hintonda, NoQ, Szelethus, lebedev.ri Reviewed By: lebedev.ri Differential Revision:

[clang] c96428d - Drop spurious self-include [NFC]

2019-11-03 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2019-11-03T14:29:59+01:00 New Revision: c96428d2184fe2329e625f6a0dc04daa02ee42c9 URL: https://github.com/llvm/llvm-project/commit/c96428d2184fe2329e625f6a0dc04daa02ee42c9 DIFF: https://github.com/llvm/llvm-project/commit/c96428d2184fe2329e625f6a0dc04daa02ee42c9.diff

[clang] 0010ea4 - [Driver] Fix incorrect GNU triplet for PowerPC on SUSE Linux

2019-11-23 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2019-11-23T16:00:53+01:00 New Revision: 0010ea4224c7ff6b5aebeecacf10a7ced7d390b7 URL: https://github.com/llvm/llvm-project/commit/0010ea4224c7ff6b5aebeecacf10a7ced7d390b7 DIFF: https://github.com/llvm/llvm-project/commit/0010ea4224c7ff6b5aebeecacf10a7ced7d390b7.diff

[clang] ae3159e - Thread safety analysis: Peel away NoOp implicit casts in initializers

2019-10-29 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2019-10-30T00:37:32+01:00 New Revision: ae3159e497934ed1320d20aab8b32e3bf00a8f10 URL: https://github.com/llvm/llvm-project/commit/ae3159e497934ed1320d20aab8b32e3bf00a8f10 DIFF: https://github.com/llvm/llvm-project/commit/ae3159e497934ed1320d20aab8b32e3bf00a8f10.diff

[clang] 93184a8 - Remove unused parameter from CXXRecordDecl::forallBases [NFC]

2020-02-29 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-02-29T14:23:44+01:00 New Revision: 93184a8eda272c65308906836b47cbf209de779e URL: https://github.com/llvm/llvm-project/commit/93184a8eda272c65308906836b47cbf209de779e DIFF: https://github.com/llvm/llvm-project/commit/93184a8eda272c65308906836b47cbf209de779e.diff

[clang] 33bb32b - [Sema] Reword -Wrange-loop-analysis warning messages

2020-03-06 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-03-06T14:57:01+01:00 New Revision: 33bb32bbc674a16973c59c9a6dc119387843a0f0 URL: https://github.com/llvm/llvm-project/commit/33bb32bbc674a16973c59c9a6dc119387843a0f0 DIFF: https://github.com/llvm/llvm-project/commit/33bb32bbc674a16973c59c9a6dc119387843a0f0.diff

[clang] a9ab01a - Remove superfluous space from -Wrange-loop-construct message

2020-02-02 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-02-02T16:22:58+01:00 New Revision: a9ab01a330f4c7c316fa87c8446888c73dae5536 URL: https://github.com/llvm/llvm-project/commit/a9ab01a330f4c7c316fa87c8446888c73dae5536 DIFF: https://github.com/llvm/llvm-project/commit/a9ab01a330f4c7c316fa87c8446888c73dae5536.diff

[clang] 27684ae - Don't warn about missing declarations for partial template specializations

2020-01-31 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-02-01T00:06:03+01:00 New Revision: 27684ae66d5545f211c0ac4393d0ba2bf3b5b47c URL: https://github.com/llvm/llvm-project/commit/27684ae66d5545f211c0ac4393d0ba2bf3b5b47c DIFF: https://github.com/llvm/llvm-project/commit/27684ae66d5545f211c0ac4393d0ba2bf3b5b47c.diff

[clang] 2f26bc5 - Warn about zero-parameter K definitions in -Wstrict-prototypes

2020-02-14 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-02-14T19:25:02+01:00 New Revision: 2f26bc5542705c390bf17af2fdfc31e056147ea9 URL: https://github.com/llvm/llvm-project/commit/2f26bc5542705c390bf17af2fdfc31e056147ea9 DIFF: https://github.com/llvm/llvm-project/commit/2f26bc5542705c390bf17af2fdfc31e056147ea9.diff

[clang] 7053065 - Fix tests after previous commit

2020-02-14 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-02-14T19:41:01+01:00 New Revision: 705306526b5ca7eed2fa28ebf832873cbb5085ec URL: https://github.com/llvm/llvm-project/commit/705306526b5ca7eed2fa28ebf832873cbb5085ec DIFF: https://github.com/llvm/llvm-project/commit/705306526b5ca7eed2fa28ebf832873cbb5085ec.diff

[clang] f23df1b - Comment parsing: Treat \ref as inline command

2020-03-05 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-03-05T19:44:34+01:00 New Revision: f23df1b2a323094e5a6869ef085f100fd065bc0d URL: https://github.com/llvm/llvm-project/commit/f23df1b2a323094e5a6869ef085f100fd065bc0d DIFF: https://github.com/llvm/llvm-project/commit/f23df1b2a323094e5a6869ef085f100fd065bc0d.diff

[clang] ce7eb72 - Thread safety analysis: Reword warning after D72635

2020-04-27 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-04-27T22:23:52+02:00 New Revision: ce7eb72a3c87a9d15ba4962fa7a23aad24f98156 URL: https://github.com/llvm/llvm-project/commit/ce7eb72a3c87a9d15ba4962fa7a23aad24f98156 DIFF: https://github.com/llvm/llvm-project/commit/ce7eb72a3c87a9d15ba4962fa7a23aad24f98156.diff

[clang] 391c15f - [NFC] Correct typo in comment after D76038

2020-04-22 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-04-23T02:26:02+02:00 New Revision: 391c15fccdc6b0d33bb651a298c07216e532904e URL: https://github.com/llvm/llvm-project/commit/391c15fccdc6b0d33bb651a298c07216e532904e DIFF: https://github.com/llvm/llvm-project/commit/391c15fccdc6b0d33bb651a298c07216e532904e.diff

Re: [PATCH] D78853: [Analysis] Fix null pointer dereference warnings [1/n]

2020-04-29 Thread Aaron Puchert via cfe-commits
Am 29.04.20 um 23:11 schrieb Mandeep Singh Grang: > My previous email details why we are doing > this: http://lists.llvm.org/pipermail/llvm-dev/2020-April/141167.html > Basically, we ran the PREfast static analysis tool on LLVM/Clang and > it reported a lot of warnings. I guess some of them are

[clang] f43859a - PR45000: Let Sema::SubstParmVarDecl handle default args of lambdas in initializers

2020-04-22 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-04-22T22:37:21+02:00 New Revision: f43859a099fa3587123717be941fa63ba8d0d4f2 URL: https://github.com/llvm/llvm-project/commit/f43859a099fa3587123717be941fa63ba8d0d4f2 DIFF: https://github.com/llvm/llvm-project/commit/f43859a099fa3587123717be941fa63ba8d0d4f2.diff

[clang] b2ce79e - Thread safety analysis: ValueDecl in Project is non-null

2020-09-05 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-05T17:26:12+02:00 New Revision: b2ce79ef66157dd752e3864ece57915e23a73f5d URL: https://github.com/llvm/llvm-project/commit/b2ce79ef66157dd752e3864ece57915e23a73f5d DIFF: https://github.com/llvm/llvm-project/commit/b2ce79ef66157dd752e3864ece57915e23a73f5d.diff

[clang-tools-extra] da6b3aa - Attempt to fix Sphinx build failure, NFC

2020-09-05 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-05T18:25:27+02:00 New Revision: da6b3aa4c6bb29a150628ad489274466c6b8ace0 URL: https://github.com/llvm/llvm-project/commit/da6b3aa4c6bb29a150628ad489274466c6b8ace0 DIFF: https://github.com/llvm/llvm-project/commit/da6b3aa4c6bb29a150628ad489274466c6b8ace0.diff

[clang] d3a779f - Restore size of TemplateParameterList after D44352

2020-09-05 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-05T18:01:33+02:00 New Revision: d3a779fe21500457e95c8c4e963638b93e3bcc71 URL: https://github.com/llvm/llvm-project/commit/d3a779fe21500457e95c8c4e963638b93e3bcc71 DIFF: https://github.com/llvm/llvm-project/commit/d3a779fe21500457e95c8c4e963638b93e3bcc71.diff

[clang] 9dcc82f - Thread safety analysis: Consider global variables in scope

2020-09-05 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-05T17:26:12+02:00 New Revision: 9dcc82f34ea9b623d82d2577b93aaf67d36dabd2 URL: https://github.com/llvm/llvm-project/commit/9dcc82f34ea9b623d82d2577b93aaf67d36dabd2 DIFF: https://github.com/llvm/llvm-project/commit/9dcc82f34ea9b623d82d2577b93aaf67d36dabd2.diff

[clang] 8544def - Thread safety analysis: Document how try-acquire is handled

2020-09-05 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-05T14:26:43+02:00 New Revision: 8544defdcb09c25c5958e5f5b5762e9b9046 URL: https://github.com/llvm/llvm-project/commit/8544defdcb09c25c5958e5f5b5762e9b9046 DIFF: https://github.com/llvm/llvm-project/commit/8544defdcb09c25c5958e5f5b5762e9b9046.diff

[clang] 16975a6 - Set InvalidDecl directly when deserializing a Decl

2020-09-05 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-05T14:26:43+02:00 New Revision: 16975a638df3cda95c677055120b23e689d96dcd URL: https://github.com/llvm/llvm-project/commit/16975a638df3cda95c677055120b23e689d96dcd DIFF: https://github.com/llvm/llvm-project/commit/16975a638df3cda95c677055120b23e689d96dcd.diff

[clang] bbb3baf - Thread safety analysis: Improve documentation for scoped capabilities

2020-09-06 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-06T20:37:42+02:00 New Revision: bbb3baf6205c54231257f64fd18661a13a5c97ee URL: https://github.com/llvm/llvm-project/commit/bbb3baf6205c54231257f64fd18661a13a5c97ee DIFF: https://github.com/llvm/llvm-project/commit/bbb3baf6205c54231257f64fd18661a13a5c97ee.diff

[clang] cc6713a - Thread safety analysis: Test and document release_generic_capability

2020-09-06 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-06T20:37:41+02:00 New Revision: cc6713a2c35edf17cfb567284cc76b374308e5e4 URL: https://github.com/llvm/llvm-project/commit/cc6713a2c35edf17cfb567284cc76b374308e5e4 DIFF: https://github.com/llvm/llvm-project/commit/cc6713a2c35edf17cfb567284cc76b374308e5e4.diff

[clang] 8ca00c5 - Thread safety analysis: More consistent warning message

2020-09-01 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-01T23:16:05+02:00 New Revision: 8ca00c5cdc0b86a433b80db633f3ff46e6547895 URL: https://github.com/llvm/llvm-project/commit/8ca00c5cdc0b86a433b80db633f3ff46e6547895 DIFF: https://github.com/llvm/llvm-project/commit/8ca00c5cdc0b86a433b80db633f3ff46e6547895.diff

[clang] 85fce44 - [Sema] Simplify ShouldDiagnoseUnusedDecl, NFC

2020-08-29 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-08-29T18:42:58+02:00 New Revision: 85fce449dc43447bf9d75163bda81e157f5b73e7 URL: https://github.com/llvm/llvm-project/commit/85fce449dc43447bf9d75163bda81e157f5b73e7 DIFF: https://github.com/llvm/llvm-project/commit/85fce449dc43447bf9d75163bda81e157f5b73e7.diff

[clang] b4a2d36 - [Sema] ICK_Function_Conversion is a third kind conversion

2020-08-29 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-08-29T18:42:36+02:00 New Revision: b4a2d36c3f74ea5574cd03a9c1a704bcffb1869e URL: https://github.com/llvm/llvm-project/commit/b4a2d36c3f74ea5574cd03a9c1a704bcffb1869e DIFF: https://github.com/llvm/llvm-project/commit/b4a2d36c3f74ea5574cd03a9c1a704bcffb1869e.diff

[clang] 916b750 - [CodeGen] Use existing EmitLambdaVLACapture (NFC)

2020-08-19 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-08-19T15:20:05+02:00 New Revision: 916b750a8d1ab47d41939b42bf1d6eeddbdef686 URL: https://github.com/llvm/llvm-project/commit/916b750a8d1ab47d41939b42bf1d6eeddbdef686 DIFF: https://github.com/llvm/llvm-project/commit/916b750a8d1ab47d41939b42bf1d6eeddbdef686.diff

[clang] f702a6f - Thread safety analysis: Improve documentation for ASSERT_CAPABILITY

2020-09-26 Thread Aaron Puchert via cfe-commits
Author: Russell Yanofsky Date: 2020-09-26T22:16:50+02:00 New Revision: f702a6fa7c9e4c0e2871b3d6657ce4dfa525ce52 URL: https://github.com/llvm/llvm-project/commit/f702a6fa7c9e4c0e2871b3d6657ce4dfa525ce52 DIFF:

[clang] 4855018 - Fix sphinx warnings in AttributeReference, NFC

2020-09-26 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-09-27T00:52:36+02:00 New Revision: 485501899d6c752ff05f4e045f7f89ace39ec413 URL: https://github.com/llvm/llvm-project/commit/485501899d6c752ff05f4e045f7f89ace39ec413 DIFF: https://github.com/llvm/llvm-project/commit/485501899d6c752ff05f4e045f7f89ace39ec413.diff

[libclc] 1c1a810 - libclc: Use find_package to find Python 3 and require it

2020-10-01 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-10-01T22:31:33+02:00 New Revision: 1c1a8105580784c96212db1afc097a844740bc69 URL: https://github.com/llvm/llvm-project/commit/1c1a8105580784c96212db1afc097a844740bc69 DIFF: https://github.com/llvm/llvm-project/commit/1c1a8105580784c96212db1afc097a844740bc69.diff

[clang] 5250a03 - Thread safety analysis: Consider global variables in scope

2020-10-25 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-10-25T19:32:26+01:00 New Revision: 5250a03a9959c2701a8338fe1a1ffa8bd93d6173 URL: https://github.com/llvm/llvm-project/commit/5250a03a9959c2701a8338fe1a1ffa8bd93d6173 DIFF: https://github.com/llvm/llvm-project/commit/5250a03a9959c2701a8338fe1a1ffa8bd93d6173.diff

[clang] b296c64 - Thread safety analysis: Nullability improvements in TIL, NFCI

2020-10-25 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-10-25T19:37:16+01:00 New Revision: b296c64e64a0bc600538c8bc67d4ccc2564e3c72 URL: https://github.com/llvm/llvm-project/commit/b296c64e64a0bc600538c8bc67d4ccc2564e3c72 DIFF: https://github.com/llvm/llvm-project/commit/b296c64e64a0bc600538c8bc67d4ccc2564e3c72.diff

[clang] 1850f56 - Thread safety analysis: Support deferring locks

2020-06-08 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-06-08T17:00:29+02:00 New Revision: 1850f56c8abae637c2cc1b8d27b8577c5700101a URL: https://github.com/llvm/llvm-project/commit/1850f56c8abae637c2cc1b8d27b8577c5700101a DIFF: https://github.com/llvm/llvm-project/commit/1850f56c8abae637c2cc1b8d27b8577c5700101a.diff

[clang] f70912f - Thread safety analysis: Add note for double unlock

2020-06-08 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-06-08T17:00:29+02:00 New Revision: f70912f885f991d5af11d8ecb10b703f3cbed982 URL: https://github.com/llvm/llvm-project/commit/f70912f885f991d5af11d8ecb10b703f3cbed982 DIFF: https://github.com/llvm/llvm-project/commit/f70912f885f991d5af11d8ecb10b703f3cbed982.diff

[clang] 825f80e - [Sema] Introduce function reference conversion, NFC

2020-11-22 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-11-22T20:51:57+01:00 New Revision: 825f80e111f2815a009084f65267be3b5bf0897a URL: https://github.com/llvm/llvm-project/commit/825f80e111f2815a009084f65267be3b5bf0897a DIFF: https://github.com/llvm/llvm-project/commit/825f80e111f2815a009084f65267be3b5bf0897a.diff

[clang] 6f84779 - [Sema] Improve notes for value category mismatch in overloading

2020-11-15 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-11-15T18:05:11+01:00 New Revision: 6f84779674a9764c6adee29b9a48ed3b3f0d5132 URL: https://github.com/llvm/llvm-project/commit/6f84779674a9764c6adee29b9a48ed3b3f0d5132 DIFF: https://github.com/llvm/llvm-project/commit/6f84779674a9764c6adee29b9a48ed3b3f0d5132.diff

[clang] ebfc427 - [Sema] Let getters assert that trailing return type exists, NFCI

2020-10-28 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-10-28T23:32:57+01:00 New Revision: ebfc427bbe08f0c36af9721d5a4e6d3ffe2e4bf5 URL: https://github.com/llvm/llvm-project/commit/ebfc427bbe08f0c36af9721d5a4e6d3ffe2e4bf5 DIFF: https://github.com/llvm/llvm-project/commit/ebfc427bbe08f0c36af9721d5a4e6d3ffe2e4bf5.diff

[clang] 5dbccc6 - Better source location for -Wignored-qualifiers on trailing return types

2020-10-28 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-10-28T23:32:57+01:00 New Revision: 5dbccc6c89c0f6c6dc6277cc304057f6d50b298d URL: https://github.com/llvm/llvm-project/commit/5dbccc6c89c0f6c6dc6277cc304057f6d50b298d DIFF: https://github.com/llvm/llvm-project/commit/5dbccc6c89c0f6c6dc6277cc304057f6d50b298d.diff

[clang] bbed8cf - Thread safety analysis: Consider static class members as inaccessible

2020-10-29 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2020-10-30T00:35:14+01:00 New Revision: bbed8cfe80cd27d3a47d877c7608d9be4e487d97 URL: https://github.com/llvm/llvm-project/commit/bbed8cfe80cd27d3a47d877c7608d9be4e487d97 DIFF: https://github.com/llvm/llvm-project/commit/bbed8cfe80cd27d3a47d877c7608d9be4e487d97.diff

[clang] d21e1b7 - Thread safety analysis: Eliminate parameter from intersectAndWarn (NFC)

2021-05-06 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-05-06T23:07:42+02:00 New Revision: d21e1b79ff7d40bca537c30da706e31e48483f21 URL: https://github.com/llvm/llvm-project/commit/d21e1b79ff7d40bca537c30da706e31e48483f21 DIFF: https://github.com/llvm/llvm-project/commit/d21e1b79ff7d40bca537c30da706e31e48483f21.diff

[clang] a5c2ec9 - [AST] Store regular ValueDecl* in BindingDecl (NFC)

2021-05-20 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-05-20T16:28:58+02:00 New Revision: a5c2ec96e5f9f14b31b705e40bcb267257612316 URL: https://github.com/llvm/llvm-project/commit/a5c2ec96e5f9f14b31b705e40bcb267257612316 DIFF: https://github.com/llvm/llvm-project/commit/a5c2ec96e5f9f14b31b705e40bcb267257612316.diff

[clang] 3d64677 - Thread safety analysis: Factor out function for merging locks (NFC)

2021-05-27 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-05-27T17:44:48+02:00 New Revision: 3d64677c28072867ea6025a22805977386b767f8 URL: https://github.com/llvm/llvm-project/commit/3d64677c28072867ea6025a22805977386b767f8 DIFF: https://github.com/llvm/llvm-project/commit/3d64677c28072867ea6025a22805977386b767f8.diff

[clang] cf0b337 - Thread safety analysis: Allow exlusive/shared joins for managed and asserted capabilities

2021-05-27 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-05-27T17:46:04+02:00 New Revision: cf0b337c1b1f064c81fe40124ddba178572778d6 URL: https://github.com/llvm/llvm-project/commit/cf0b337c1b1f064c81fe40124ddba178572778d6 DIFF: https://github.com/llvm/llvm-project/commit/cf0b337c1b1f064c81fe40124ddba178572778d6.diff

[clang] f664e2e - Thread safety analysis: Always warn when dropping locks on back edges

2021-06-29 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-06-29T23:56:52+02:00 New Revision: f664e2ec371f61b69e11147d7f9e045083335917 URL: https://github.com/llvm/llvm-project/commit/f664e2ec371f61b69e11147d7f9e045083335917 DIFF: https://github.com/llvm/llvm-project/commit/f664e2ec371f61b69e11147d7f9e045083335917.diff

[clang] e0b9077 - Thread safety analysis: Rename parameters of ThreadSafetyAnalyzer::intersectAndWarn (NFC)

2021-06-29 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-06-29T23:56:52+02:00 New Revision: e0b90771c318625e51c34c67db3f3dfbbb686df8 URL: https://github.com/llvm/llvm-project/commit/e0b90771c318625e51c34c67db3f3dfbbb686df8 DIFF: https://github.com/llvm/llvm-project/commit/e0b90771c318625e51c34c67db3f3dfbbb686df8.diff

[clang] 572fe08 - Thread safety analysis: Simplify intersectAndWarn (NFC)

2021-04-23 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-04-23T23:19:15+02:00 New Revision: 572fe087765626529d63eaaefb2e1c5ba277f756 URL: https://github.com/llvm/llvm-project/commit/572fe087765626529d63eaaefb2e1c5ba277f756 DIFF: https://github.com/llvm/llvm-project/commit/572fe087765626529d63eaaefb2e1c5ba277f756.diff

[clang] daca6ed - Thread safety analysis: Fix false negative on break

2021-05-03 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-05-03T14:03:17+02:00 New Revision: daca6edb31efae048a420595fae9750aaa91c733 URL: https://github.com/llvm/llvm-project/commit/daca6edb31efae048a420595fae9750aaa91c733 DIFF: https://github.com/llvm/llvm-project/commit/daca6edb31efae048a420595fae9750aaa91c733.diff

[clang] 530e074 - Thread safety analysis: Replace flags in FactEntry by SourceKind (NFC)

2021-05-03 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-05-03T14:03:17+02:00 New Revision: 530e074faafe995a560e80815f5af8306670ea7b URL: https://github.com/llvm/llvm-project/commit/530e074faafe995a560e80815f5af8306670ea7b DIFF: https://github.com/llvm/llvm-project/commit/530e074faafe995a560e80815f5af8306670ea7b.diff

[clang] a6a1c30 - Fix false negative in -Wthread-safety-attributes

2021-03-24 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-03-24T17:45:25+01:00 New Revision: a6a1c3051dbd2cc5ccc70272890cf38d11dca9c7 URL: https://github.com/llvm/llvm-project/commit/a6a1c3051dbd2cc5ccc70272890cf38d11dca9c7 DIFF: https://github.com/llvm/llvm-project/commit/a6a1c3051dbd2cc5ccc70272890cf38d11dca9c7.diff

[clang] dfec26b - Thread safety analysis: Don't warn about managed locks on join points

2021-04-06 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-04-06T22:29:48+02:00 New Revision: dfec26b186d2f0c80f2b70901b7cc5747f5b377c URL: https://github.com/llvm/llvm-project/commit/dfec26b186d2f0c80f2b70901b7cc5747f5b377c DIFF: https://github.com/llvm/llvm-project/commit/dfec26b186d2f0c80f2b70901b7cc5747f5b377c.diff

[clang] c61ae6e - Deduplicate branches and adjust comment [NFC]

2021-03-27 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-03-27T23:08:43+01:00 New Revision: c61ae6e6d597984e6ff7d012dce4dfd59c05d792 URL: https://github.com/llvm/llvm-project/commit/c61ae6e6d597984e6ff7d012dce4dfd59c05d792 DIFF: https://github.com/llvm/llvm-project/commit/c61ae6e6d597984e6ff7d012dce4dfd59c05d792.diff

[clang] 1cb15b1 - Correct Doxygen syntax for inline code

2021-03-16 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-03-16T15:17:45+01:00 New Revision: 1cb15b10ea370178871769929ff9690f461191fc URL: https://github.com/llvm/llvm-project/commit/1cb15b10ea370178871769929ff9690f461191fc DIFF: https://github.com/llvm/llvm-project/commit/1cb15b10ea370178871769929ff9690f461191fc.diff

[clang] 9b889f8 - Thread safety analysis: Warn when demoting locks on back edges

2021-09-18 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-09-18T13:46:55+02:00 New Revision: 9b889f826ff587e9758c80823419512d502e457d URL: https://github.com/llvm/llvm-project/commit/9b889f826ff587e9758c80823419512d502e457d DIFF: https://github.com/llvm/llvm-project/commit/9b889f826ff587e9758c80823419512d502e457d.diff

[clang] 6de19ea - Thread safety analysis: Drop special block handling

2021-09-20 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-09-20T15:20:15+02:00 New Revision: 6de19ea4b6264e64cea145e00ab66fe1530fc0a0 URL: https://github.com/llvm/llvm-project/commit/6de19ea4b6264e64cea145e00ab66fe1530fc0a0 DIFF: https://github.com/llvm/llvm-project/commit/6de19ea4b6264e64cea145e00ab66fe1530fc0a0.diff

[clang] 4e7df1e - Comment AST: Find out if function is variadic in DeclInfo::fill

2021-11-12 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-11-12T21:10:56+01:00 New Revision: 4e7df1ef7b679953c1501177539166876c4cbda4 URL: https://github.com/llvm/llvm-project/commit/4e7df1ef7b679953c1501177539166876c4cbda4 DIFF: https://github.com/llvm/llvm-project/commit/4e7df1ef7b679953c1501177539166876c4cbda4.diff

[clang] 3010883 - Comment AST: Recognize function-like objects via return type (NFC)

2021-11-12 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-11-12T21:11:11+01:00 New Revision: 3010883fc296619def051e0a2f97d40fb15960d7 URL: https://github.com/llvm/llvm-project/commit/3010883fc296619def051e0a2f97d40fb15960d7 DIFF: https://github.com/llvm/llvm-project/commit/3010883fc296619def051e0a2f97d40fb15960d7.diff

[clang] 59b1e98 - Comment Sema: Make most of CommentSema private (NFC)

2021-11-12 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-11-12T21:11:52+01:00 New Revision: 59b1e98137e961a61ffaeb609b6790999c461bec URL: https://github.com/llvm/llvm-project/commit/59b1e98137e961a61ffaeb609b6790999c461bec DIFF: https://github.com/llvm/llvm-project/commit/59b1e98137e961a61ffaeb609b6790999c461bec.diff

[clang] 196554d - Comment parsing: Complete list of Doxygen commands

2021-11-09 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-11-09T18:35:26+01:00 New Revision: 196554d42d329e45363afe2293d1fc19de75673d URL: https://github.com/llvm/llvm-project/commit/196554d42d329e45363afe2293d1fc19de75673d DIFF: https://github.com/llvm/llvm-project/commit/196554d42d329e45363afe2293d1fc19de75673d.diff

[clang] 4d63824 - Comment AST: Declare function pointer variables as functions

2021-11-09 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-11-09T22:30:08+01:00 New Revision: 4d6382430066465774f6f696ea3f4c402da1d705 URL: https://github.com/llvm/llvm-project/commit/4d6382430066465774f6f696ea3f4c402da1d705 DIFF: https://github.com/llvm/llvm-project/commit/4d6382430066465774f6f696ea3f4c402da1d705.diff

[clang] 63ef0e1 - Comment AST: Add support for variable templates

2021-11-09 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-11-09T22:30:09+01:00 New Revision: 63ef0e17e28827eae53133b3467bdac7d9729318 URL: https://github.com/llvm/llvm-project/commit/63ef0e17e28827eae53133b3467bdac7d9729318 DIFF: https://github.com/llvm/llvm-project/commit/63ef0e17e28827eae53133b3467bdac7d9729318.diff

[clang] 3506e42 - Comment AST: Factor out function type extraction in DeclInfo::fill (NFC)

2021-11-09 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-11-09T22:30:08+01:00 New Revision: 3506e42ab67eef41a1f27e180e7c552a27bb URL: https://github.com/llvm/llvm-project/commit/3506e42ab67eef41a1f27e180e7c552a27bb DIFF: https://github.com/llvm/llvm-project/commit/3506e42ab67eef41a1f27e180e7c552a27bb.diff

[clang] 0e64a52 - Thread safety analysis: Mock getter for private mutexes can be undefined

2021-07-23 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2021-07-23T14:46:02+02:00 New Revision: 0e64a525c12a0822683d3bdc51b6294b5265f860 URL: https://github.com/llvm/llvm-project/commit/0e64a525c12a0822683d3bdc51b6294b5265f860 DIFF: https://github.com/llvm/llvm-project/commit/0e64a525c12a0822683d3bdc51b6294b5265f860.diff

[clang] 1721d52 - Let clang-repl link privately against Clang components

2022-03-28 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2022-03-28T23:53:53+02:00 New Revision: 1721d52a62067b8a5ceec58b417b2c73ad870b13 URL: https://github.com/llvm/llvm-project/commit/1721d52a62067b8a5ceec58b417b2c73ad870b13 DIFF: https://github.com/llvm/llvm-project/commit/1721d52a62067b8a5ceec58b417b2c73ad870b13.diff

[clang] bd0a970 - Comment parsing: Simplify Lexer::skipLineStartingDecorations (NFC)

2022-01-14 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2022-01-14T22:45:10+01:00 New Revision: bd0a970f5341f9981a9ad33fdfda99f8ff7348b3 URL: https://github.com/llvm/llvm-project/commit/bd0a970f5341f9981a9ad33fdfda99f8ff7348b3 DIFF: https://github.com/llvm/llvm-project/commit/bd0a970f5341f9981a9ad33fdfda99f8ff7348b3.diff

[clang] 9f0fa65 - Comment parsing: Don't recognize commands in single-line double quotation

2022-01-14 Thread Aaron Puchert via cfe-commits
Author: Aaron Puchert Date: 2022-01-14T22:46:07+01:00 New Revision: 9f0fa6544012ed8f7b6b3d72fce6535bf4430e40 URL: https://github.com/llvm/llvm-project/commit/9f0fa6544012ed8f7b6b3d72fce6535bf4430e40 DIFF: https://github.com/llvm/llvm-project/commit/9f0fa6544012ed8f7b6b3d72fce6535bf4430e40.diff

[clang] [clang][TSA] Consider cleanup functions for thread safety analysis (PR #65462)

2023-09-09 Thread Aaron Puchert via cfe-commits
Timm =?utf-8?q?Bäder?= aaronpuchert wrote: We still have until the end of September to finish the review on Phabricator. I would suggest that we keep the review there until we have to move. Here I can't see the difference to the last version that I reviewed.

[clang] [clang] Catch missing format attributes (PR #70024)

2023-10-24 Thread Aaron Puchert via cfe-commits
@@ -435,6 +435,86 @@ bool Sema::ConstantFoldAttrArgs(const AttributeCommonInfo , return true; } +// Warn if parent function does not have builtin function format attribute. +void Sema::DiagnoseMissingFormatAttributes(NamedDecl *FDecl, +

[clang] [clang] Catch missing format attributes (PR #70024)

2023-10-24 Thread Aaron Puchert via cfe-commits
@@ -435,6 +435,86 @@ bool Sema::ConstantFoldAttrArgs(const AttributeCommonInfo , return true; } +// Warn if parent function does not have builtin function format attribute. +void Sema::DiagnoseMissingFormatAttributes(NamedDecl *FDecl, +

[clang] [clang] Catch missing format attributes (PR #70024)

2023-10-24 Thread Aaron Puchert via cfe-commits
@@ -435,6 +435,86 @@ bool Sema::ConstantFoldAttrArgs(const AttributeCommonInfo , return true; } +// Warn if parent function does not have builtin function format attribute. +void Sema::DiagnoseMissingFormatAttributes(NamedDecl *FDecl, +

[clang] [clang] Catch missing format attributes (PR #70024)

2023-10-24 Thread Aaron Puchert via cfe-commits
@@ -435,6 +435,86 @@ bool Sema::ConstantFoldAttrArgs(const AttributeCommonInfo , return true; } +// Warn if parent function does not have builtin function format attribute. +void Sema::DiagnoseMissingFormatAttributes(NamedDecl *FDecl, +

  1   2   >