update Diagnostic.
This commit is contained in:
@@ -8,4 +8,17 @@
|
||||
#include <clang/Sema/Sema.h>
|
||||
#include <clang/Tooling/CompilationDatabase.h>
|
||||
#include <clang/Tooling/Syntax/Tokens.h>
|
||||
#include <clang/Lex/PPCallbacks.h>
|
||||
#include <clang/Lex/PPCallbacks.h>
|
||||
|
||||
namespace clice {
|
||||
|
||||
class Diagnostic : public clang::DiagnosticConsumer {
|
||||
public:
|
||||
void BeginSourceFile(const clang::LangOptions& Opts, const clang::Preprocessor* PP) override;
|
||||
|
||||
void HandleDiagnostic(clang::DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic& Info) override;
|
||||
|
||||
void EndSourceFile() override;
|
||||
};
|
||||
|
||||
} // namespace clice
|
||||
|
||||
Reference in New Issue
Block a user