diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
| commit | 486754660bb926339aefcf012a3f848592babb8b (patch) | |
| tree | ecdbc446c9876f4f120f701c243373cd3cb43db3 /lib/Analysis/PostOrderCFGView.cpp | |
| parent | 55e6d896ad333f07bb3b1ba487df214fc268a4ab (diff) | |
Notes
Diffstat (limited to 'lib/Analysis/PostOrderCFGView.cpp')
| -rw-r--r-- | lib/Analysis/PostOrderCFGView.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Analysis/PostOrderCFGView.cpp b/lib/Analysis/PostOrderCFGView.cpp index 5a3c8182a1400..124424bf25679 100644 --- a/lib/Analysis/PostOrderCFGView.cpp +++ b/lib/Analysis/PostOrderCFGView.cpp @@ -1,4 +1,4 @@ -//===- PostOrderCFGView.cpp - Post order view of CFG blocks -------*- C++ --*-// +//===- PostOrderCFGView.cpp - Post order view of CFG blocks ---------------===// // // The LLVM Compiler Infrastructure // @@ -12,10 +12,12 @@ //===----------------------------------------------------------------------===// #include "clang/Analysis/Analyses/PostOrderCFGView.h" +#include "clang/Analysis/AnalysisDeclContext.h" +#include "clang/Analysis/CFG.h" using namespace clang; -void PostOrderCFGView::anchor() { } +void PostOrderCFGView::anchor() {} PostOrderCFGView::PostOrderCFGView(const CFG *cfg) { Blocks.reserve(cfg->getNumBlockIDs()); @@ -46,4 +48,3 @@ bool PostOrderCFGView::BlockOrderCompare::operator()(const CFGBlock *b1, unsigned b2V = (b2It == POV.BlockOrder.end()) ? 0 : b2It->second; return b1V > b2V; } - |
