1 //===- EmptyNodeIntrospection.inc.in --------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 namespace clang { 10 namespace tooling { 11 bool NodeIntrospection::hasIntrospectionSupport() { return false; } 12 13 NodeLocationAccessors NodeIntrospection::GetLocations(clang::Stmt const *) { 14 return {}; 15 } 16 NodeLocationAccessors NodeIntrospection::GetLocations(clang::Decl const *) { 17 return {}; 18 } 19 NodeLocationAccessors NodeIntrospection::GetLocations( 20 clang::CXXCtorInitializer const *) { 21 return {}; 22 } 23 NodeLocationAccessors NodeIntrospection::GetLocations( 24 clang::NestedNameSpecifierLoc const&) { 25 return {}; 26 } 27 NodeLocationAccessors NodeIntrospection::GetLocations( 28 clang::TemplateArgumentLoc const&) { 29 return {}; 30 } 31 NodeLocationAccessors NodeIntrospection::GetLocations( 32 clang::CXXBaseSpecifier const*) { 33 return {}; 34 } 35 NodeLocationAccessors NodeIntrospection::GetLocations( 36 clang::TypeLoc const&) { 37 return {}; 38 } 39 NodeLocationAccessors NodeIntrospection::GetLocations( 40 clang::DeclarationNameInfo const&) { 41 return {}; 42 } 43 NodeLocationAccessors 44 NodeIntrospection::GetLocations(clang::DynTypedNode const &) { 45 return {}; 46 } 47 } // namespace tooling 48 } // namespace clang 49