Current Path : /compat/linux/proc/68247/root/usr/src/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/68247/root/usr/src/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h |
//== ProgramState_Fwd.h - Incomplete declarations of ProgramState -*- C++ -*--=/ // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_PROGRAMSTATE_FWD_H #define LLVM_CLANG_PROGRAMSTATE_FWD_H #include "clang/Basic/LLVM.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" namespace clang { namespace ento { class ProgramState; class ProgramStateManager; void ProgramStateRetain(const ProgramState *state); void ProgramStateRelease(const ProgramState *state); } } namespace llvm { template <> struct IntrusiveRefCntPtrInfo<const clang::ento::ProgramState> { static void retain(const clang::ento::ProgramState *state) { clang::ento::ProgramStateRetain(state); } static void release(const clang::ento::ProgramState *state) { clang::ento::ProgramStateRelease(state); } }; } namespace clang { namespace ento { typedef IntrusiveRefCntPtr<const ProgramState> ProgramStateRef; } } #endif