//==- WorkList.h - Worklist class used by CoreEngine ---------------*- 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 WorkList, a pure virtual class that represents an opaque // worklist used by CoreEngine to explore the reachability state space. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_WORKLIST_H #define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_WORKLIST_H #include "clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h" #include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h" #include <cassert> namespace clang { class CFGBlock; namespace ento { class WorkListUnit { … }; class WorkList { … }; } // end ento namespace } // end clang namespace #endif