r369791 - [Sema] Don't warn on printf('%hd', [char]) (PR41467)

2019-08-23 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Fri Aug 23 11:01:57 2019 New Revision: 369791 URL: http://llvm.org/viewvc/llvm-project?rev=369791&view=rev Log: [Sema] Don't warn on printf('%hd', [char]) (PR41467) Summary: Link: https://bugs.llvm.org/show_bug.cgi?id=41467 Reviewers: rsmith, nickdesaulniers, aar

r369414 - [Attr] Support _attribute__ ((fallthrough))

2019-08-20 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Tue Aug 20 10:16:49 2019 New Revision: 369414 URL: http://llvm.org/viewvc/llvm-project?rev=369414&view=rev Log: [Attr] Support _attribute__ ((fallthrough)) Summary: Fixed extraneous matches of non-NullStmt Reviewers: aaron.ballman, rsmith, efriedma, xbolva00 Rev

[clang-tools-extra] r367694 - [clang-tidy] Adding static analyzer check to list of clang-tidy checks

2019-08-02 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Fri Aug 2 10:18:31 2019 New Revision: 367694 URL: http://llvm.org/viewvc/llvm-project?rev=367694&view=rev Log: [clang-tidy] Adding static analyzer check to list of clang-tidy checks Summary: Since clang-tidy supports use of the static analyzer there should be doc

r367134 - [Sema] Fix -Wuninitialized for struct assignment from GNU C statement expression

2019-07-26 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Fri Jul 26 10:29:35 2019 New Revision: 367134 URL: http://llvm.org/viewvc/llvm-project?rev=367134&view=rev Log: [Sema] Fix -Wuninitialized for struct assignment from GNU C statement expression Summary: Do not automatically report self references of structs in stat

[clang-tools-extra] r366353 - [clang-tidy] Fix crash on end location inside macro

2019-07-17 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Wed Jul 17 10:22:43 2019 New Revision: 366353 URL: http://llvm.org/viewvc/llvm-project?rev=366353&view=rev Log: [clang-tidy] Fix crash on end location inside macro Summary: Lexer::getLocForEndOfToken is defined to return an invalid location if the given location i

r365797 - [Docs] Add standardized header links to analyzer doc

2019-07-11 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Thu Jul 11 10:12:05 2019 New Revision: 365797 URL: http://llvm.org/viewvc/llvm-project?rev=365797&view=rev Log: [Docs] Add standardized header links to analyzer doc Summary: Header links should have some standard form so clang tidy docs can easily reference them.

r364875 - [analyzer] Support kfree in MallocChecker

2019-07-01 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Mon Jul 1 16:29:10 2019 New Revision: 364875 URL: http://llvm.org/viewvc/llvm-project?rev=364875&view=rev Log: [analyzer] Support kfree in MallocChecker Summary: kmalloc is freed with kfree in the linux kernel. kmalloc support was added in r204832, but kfree was

r364605 - [analyzer] Fix clang-tidy crash on GCCAsmStmt

2019-06-27 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Thu Jun 27 15:46:40 2019 New Revision: 364605 URL: http://llvm.org/viewvc/llvm-project?rev=364605&view=rev Log: [analyzer] Fix clang-tidy crash on GCCAsmStmt Summary: Added entry in switch statement to recognize GCCAsmStmt as a possible block terminator. Handling

r363857 - [AST] Fixed extraneous warnings for binary conditional operator

2019-06-19 Thread Nathan Huckleberry via cfe-commits
Author: nathan-huckleberry Date: Wed Jun 19 11:37:01 2019 New Revision: 363857 URL: http://llvm.org/viewvc/llvm-project?rev=363857&view=rev Log: [AST] Fixed extraneous warnings for binary conditional operator Summary: Binary conditional operator gave warnings where ternary operators did not. They