Add missing header file.

llvm-svn: 96875
This commit is contained in:
Ted Kremenek 2010-02-23 03:08:26 +00:00
parent 30f5301e54
commit 49fd94d261
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
//===- ReachableCode.h -----------------------------------------*- C++ --*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// A flow-sensitive, path-insensitive analysis of unreachable code.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_REACHABLECODE_H
#define LLVM_CLANG_REACHABLECODE_H
//===----------------------------------------------------------------------===//
// Forward declarations.
//===----------------------------------------------------------------------===//
namespace llvm {
class BitVector;
} // end llvm namespace
namespace clang {
class CFGBlock;
} // end clang namespace
//===----------------------------------------------------------------------===//
// API.
//===----------------------------------------------------------------------===//
namespace clang {
/// ScanReachableFromBlock - Mark all blocks reachable from Start.
/// Returns the total number of blocks that were marked reachable.
unsigned ScanReachableFromBlock(const CFGBlock &B, llvm::BitVector &Reachable);
} // end clang namespace
#endif