//== SValExplainer.h - Symbolic value explainer -----------------*- 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 SValExplainer, a class for pretty-printing a // human-readable description of a symbolic value. For example, // "reg_$0<x>" is turned into "initial value of variable 'x'". // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_STATICANALYZER_CHECKERS_SVALEXPLAINER_H #define LLVM_CLANG_STATICANALYZER_CHECKERS_SVALEXPLAINER_H #include "clang/AST/Attr.h" #include "clang/AST/DeclCXX.h" #include "clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h" #include "llvm/ADT/StringExtras.h" namespace clang { namespace ento { class SValExplainer : public FullSValVisitor<SValExplainer, std::string> { … }; } // end namespace ento } // end namespace clang #endif