forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Ifd9ad7faef742a6df848c22505a343ee74ff55b8
- Loading branch information
Showing
90 changed files
with
1,230 additions
and
581 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
============================= | ||
Clang Tools Extra Maintainers | ||
============================= | ||
|
||
This file is a list of the maintainers | ||
(https://llvm.org/docs/DeveloperPolicy.html#maintainers) for clang-tools-extra. | ||
|
||
|
||
Active Maintainers | ||
================== | ||
The following people are the active maintainers for the project. Please reach | ||
out to them for code reviews, questions about their area of expertise, or other | ||
assistance. | ||
|
||
Lead Maintainer | ||
--------------- | ||
| Aaron Ballman | ||
| [email protected] (email), aaron.ballman (Phabricator), AaronBallman (GitHub), AaronBallman (Discourse), aaronballman (Discord), AaronBallman (IRC) | ||
|
||
|
||
clang-tidy | ||
---------- | ||
| Congcong Cai | ||
| [email protected] (email), HerrCai0907 (GitHub), HerrCai0907 (Discourse) | ||
|
||
| Julian Schmidt | ||
| [email protected] (email), 5chmidti (GitHub), 5chmidti (Discourse), 5chmidti (Discord) | ||
|
||
| Piotr Zegar | ||
| [email protected] (email), PiotrZSL (GitHub), PiotrZSL (Discourse), PiotrZSL (Discord) | ||
|
||
|
||
clang-query | ||
----------- | ||
| Aaron Ballman | ||
| [email protected] (email), aaron.ballman (Phabricator), AaronBallman (GitHub), AaronBallman (Discourse), aaronballman (Discord), AaronBallman (IRC) | ||
|
||
|
||
clang-doc | ||
--------- | ||
| Paul Kirth | ||
| [email protected] (email), ilovepi (GitHub), ilovepi (Discourse) | ||
|
||
| Peter Chou | ||
| [email protected] (email), PeterChou1 (GitHub), PeterChou1 (Discourse), .peterchou (Discord) | ||
|
||
|
||
clangd | ||
------ | ||
| Nathan Ridge | ||
| [email protected] (email), HighCommander4 (GitHub), HighCommander4 (Discourse), nridge (Discord) | ||
|
||
| Chris Bieneman | ||
| [email protected] (email), llvm-beanz (GitHub), beanz (Discord), beanz (Discourse) | ||
|
||
| Kadir Çetinkaya | ||
| [email protected] (email), kadircet (GitHub) kadircet (Discourse), kadircet (Discord) | ||
|
||
|
||
Inactive Maintainers | ||
==================== | ||
The following people have graciously spent time performing maintainership | ||
responsibilities but are no longer active in that role. Thank you for all your | ||
help with the success of the project! | ||
|
||
Emeritus Lead Maintainers | ||
------------------------- | ||
| Manuel Klimek ([email protected] (email), r4nt (GitHub)) | ||
|
||
|
||
Inactive component maintainers | ||
------------------------------ | ||
| Nathan James ([email protected]) -- clang-tidy | ||
| Julie Hockett ([email protected]) -- clang-doc | ||
| Sam McCall ([email protected] (email), sam-mccall (GitHub, Discourse, Discord)) -- clangd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.Malloc -analyzer-output text -verify %s | ||
|
||
typedef __typeof(sizeof(int)) size_t; | ||
void *malloc(size_t size); | ||
|
||
void inf_loop_break_callee() { | ||
void* data = malloc(10); // expected-note{{Memory is allocated}} | ||
while (1) { // expected-note{{Loop condition is true}} | ||
(void)data; | ||
break; // No note that we jump to the line above from this break | ||
} // expected-note@-1{{Execution jumps to the end of the function}} | ||
} // expected-warning{{Potential leak of memory pointed to by 'data'}} | ||
// expected-note@-1 {{Potential leak of memory pointed to by 'data'}} | ||
|
||
void inf_loop_break_caller() { | ||
inf_loop_break_callee(); // expected-note{{Calling 'inf_loop_break_callee'}} | ||
} | ||
|
||
void inf_loop_break_top() { | ||
void* data = malloc(10); // expected-note{{Memory is allocated}} | ||
while (1) { // expected-note{{Loop condition is true}} | ||
(void)data; | ||
break; // No note that we jump to the line above from this break | ||
} // expected-note@-1{{Execution jumps to the end of the function}} | ||
} // expected-warning{{Potential leak of memory pointed to by 'data'}} | ||
// expected-note@-1 {{Potential leak of memory pointed to by 'data'}} |
Oops, something went wrong.