llvm-project/clang/lib/Analysis/Dominators.cpp
Kristof Umann b069bbf510 Make a buildbot using a buggy gcc happy
When specializing a template in a namespace, it has to be in a namespace
block, else gcc will get confused. Hopefully this fixes the issue.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480

llvm-svn: 365030
2019-07-03 12:06:10 +00:00

20 lines
611 B
C++

//===- 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