//=- AnalysisBasedWarnings.h - Sema warnings based on libAnalysis -*- 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 // //===----------------------------------------------------------------------===// // // This file defines AnalysisBasedWarnings, a worker object used by Sema // that issues warnings based on dataflow-analysis. //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_SEMA_ANALYSISBASEDWARNINGS_H #define LLVM_CLANG_SEMA_ANALYSISBASEDWARNINGS_H #include "clang/AST/Decl.h" #include "llvm/ADT/DenseMap.h" #include <memory> namespace clang { class Decl; class FunctionDecl; class QualType; class Sema; namespace sema { class FunctionScopeInfo; } namespace sema { class AnalysisBasedWarnings { … }; } // namespace sema } // namespace clang #endif