//===- PostOrderCFGView.cpp - Post order view of CFG blocks ---------------===// // // 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 implements post order view of the blocks in a CFG. // //===----------------------------------------------------------------------===// #include "clang/Analysis/Analyses/PostOrderCFGView.h" #include "clang/Analysis/AnalysisDeclContext.h" #include "clang/Analysis/CFG.h" usingnamespaceclang; void PostOrderCFGView::anchor() { … } PostOrderCFGView::PostOrderCFGView(const CFG *cfg) { … } std::unique_ptr<PostOrderCFGView> PostOrderCFGView::create(AnalysisDeclContext &ctx) { … } const void *PostOrderCFGView::getTag() { … } bool PostOrderCFGView::BlockOrderCompare::operator()(const CFGBlock *b1, const CFGBlock *b2) const { … }