diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Analysis/Dominators.cpp')
-rw-r--r-- | contrib/llvm-project/clang/lib/Analysis/Dominators.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Analysis/Dominators.cpp b/contrib/llvm-project/clang/lib/Analysis/Dominators.cpp new file mode 100644 index 000000000000..f7ad68673d0f --- /dev/null +++ b/contrib/llvm-project/clang/lib/Analysis/Dominators.cpp @@ -0,0 +1,19 @@ +//===- Dominators.cpp - Implementation of dominators tree for Clang CFG ---===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#include "clang/Analysis/Analyses/Dominators.h" + +namespace clang { + +template <> +void CFGDominatorTreeImpl</*IsPostDom=*/true>::anchor() {} + +template <> +void CFGDominatorTreeImpl</*IsPostDom=*/false>::anchor() {} + +} // end of namespace clang |