mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 05:46:07 +00:00

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
20 lines
611 B
C++
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
|