Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "[analyzer][NFC] Tie CheckerRegistry to CheckerManager, allow …
…CheckerManager to be constructed for non-analysis purposes" Originally commited in rG57b8a407493c34c3680e7e1e4cb82e097f43744a, but it broke the modules bot. This is solved by putting the contructors of the CheckerManager class to the Frontend library. Differential Revision: https://reviews.llvm.org/D75360
- Loading branch information
Showing
13 changed files
with
223 additions
and
190 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 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
30 changes: 30 additions & 0 deletions
30
clang/include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h
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,30 @@ | ||
//===-- AnalyzerHelpFlags.h - Query functions for --help flags --*- C++ -*-===// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYZERHELPFLAGS_H | ||
#define LLVM_CLANG_STATICANALYZER_FRONTEND_ANALYZERHELPFLAGS_H | ||
|
||
namespace llvm { | ||
class raw_ostream; | ||
} // namespace llvm | ||
|
||
namespace clang { | ||
|
||
class CompilerInstance; | ||
|
||
namespace ento { | ||
|
||
void printCheckerHelp(llvm::raw_ostream &OS, CompilerInstance &CI); | ||
void printEnabledCheckerList(llvm::raw_ostream &OS, CompilerInstance &CI); | ||
void printAnalyzerConfigList(llvm::raw_ostream &OS); | ||
void printCheckerConfigList(llvm::raw_ostream &OS, CompilerInstance &CI); | ||
|
||
} // namespace ento | ||
} // namespace clang | ||
|
||
#endif |
38 changes: 0 additions & 38 deletions
38
clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
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
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
Oops, something went wrong.