llvm-project/clang/lib/Tooling/EmptyNodeIntrospection.inc.in

49 lines
1.4 KiB
PHP

//===- EmptyNodeIntrospection.inc.in --------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
namespace clang {
namespace tooling {
bool NodeIntrospection::hasIntrospectionSupport() { return false; }
NodeLocationAccessors NodeIntrospection::GetLocations(clang::Stmt const *) {
return {};
}
NodeLocationAccessors NodeIntrospection::GetLocations(clang::Decl const *) {
return {};
}
NodeLocationAccessors NodeIntrospection::GetLocations(
clang::CXXCtorInitializer const *) {
return {};
}
NodeLocationAccessors NodeIntrospection::GetLocations(
clang::NestedNameSpecifierLoc const&) {
return {};
}
NodeLocationAccessors NodeIntrospection::GetLocations(
clang::TemplateArgumentLoc const&) {
return {};
}
NodeLocationAccessors NodeIntrospection::GetLocations(
clang::CXXBaseSpecifier const*) {
return {};
}
NodeLocationAccessors NodeIntrospection::GetLocations(
clang::TypeLoc const&) {
return {};
}
NodeLocationAccessors NodeIntrospection::GetLocations(
clang::DeclarationNameInfo const&) {
return {};
}
NodeLocationAccessors
NodeIntrospection::GetLocations(clang::DynTypedNode const &) {
return {};
}
} // namespace tooling
} // namespace clang