llvm/clang/unittests/Rename/RenameFunctionTest.cpp

//===-- RenameFunctionTest.cpp - unit tests for renaming functions --------===//
//
// 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 "ClangRenameTest.h"

namespace clang {
namespace clang_rename {
namespace test {
namespace {

class RenameFunctionTest : public ClangRenameTest {};

TEST_F(RenameFunctionTest, RefactorsAFoo) {}

TEST_F(RenameFunctionTest, RefactorsNonCallingAFoo) {}

TEST_F(RenameFunctionTest, RefactorsEric) {}

TEST_F(RenameFunctionTest, RefactorsNonCallingEric) {}

TEST_F(RenameFunctionTest, DoesNotRefactorBFoo) {}

TEST_F(RenameFunctionTest, DoesNotRefactorBEric) {}

TEST_F(RenameFunctionTest, DoesNotRefactorCEric) {}

TEST_F(RenameFunctionTest, DoesNotRefactorEricInNamespaceC) {}

TEST_F(RenameFunctionTest, NamespaceQualified) {}

TEST_F(RenameFunctionTest, RenameFunctionDecls) {}

TEST_F(RenameFunctionTest, RenameTemplateFunctions) {}

TEST_F(RenameFunctionTest, RenameOutOfLineFunctionDecls) {}

TEST_F(RenameFunctionTest, NewNamespaceWithoutLeadingDotDot) {}

TEST_F(RenameFunctionTest, NewNamespaceWithLeadingDotDot) {}

TEST_F(RenameFunctionTest, DontRenameSymbolsDefinedInAnonymousNamespace) {}

TEST_F(RenameFunctionTest, NewNestedNamespace) {}

TEST_F(RenameFunctionTest, MoveFromGlobalToNamespaceWithoutLeadingDotDot) {}

TEST_F(RenameFunctionTest, MoveFromGlobalToNamespaceWithLeadingDotDot) {}

// FIXME: the rename of overloaded operator is not fully supported yet.
TEST_F(RenameFunctionTest, DISABLED_DoNotRenameOverloadedOperatorCalls) {}

TEST_F(RenameFunctionTest, FunctionRefAsTemplate) {}

TEST_F(RenameFunctionTest, RenameFunctionInUsingDecl) {}

// FIXME: Fix the complex the case where the symbol being renamed is located in
// `std::function<decltype<renamed_symbol>>`.
TEST_F(ClangRenameTest, DISABLED_ReferencesInLambdaFunctionParameters) {}

} // anonymous namespace
} // namespace test
} // namespace clang_rename
} // namesdpace clang