EmptyNodeIntrospection.inc.in 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. namespace clang {
  9. namespace tooling {
  10. bool NodeIntrospection::hasIntrospectionSupport() { return false; }
  11. NodeLocationAccessors NodeIntrospection::GetLocations(clang::Stmt const *) {
  12. return {};
  13. }
  14. NodeLocationAccessors NodeIntrospection::GetLocations(clang::Decl const *) {
  15. return {};
  16. }
  17. NodeLocationAccessors NodeIntrospection::GetLocations(
  18. clang::CXXCtorInitializer const *) {
  19. return {};
  20. }
  21. NodeLocationAccessors NodeIntrospection::GetLocations(
  22. clang::NestedNameSpecifierLoc const&) {
  23. return {};
  24. }
  25. NodeLocationAccessors NodeIntrospection::GetLocations(
  26. clang::TemplateArgumentLoc const&) {
  27. return {};
  28. }
  29. NodeLocationAccessors NodeIntrospection::GetLocations(
  30. clang::CXXBaseSpecifier const*) {
  31. return {};
  32. }
  33. NodeLocationAccessors NodeIntrospection::GetLocations(
  34. clang::TypeLoc const&) {
  35. return {};
  36. }
  37. NodeLocationAccessors NodeIntrospection::GetLocations(
  38. clang::DeclarationNameInfo const&) {
  39. return {};
  40. }
  41. NodeLocationAccessors
  42. NodeIntrospection::GetLocations(clang::DynTypedNode const &) {
  43. return {};
  44. }
  45. } // namespace tooling
  46. } // namespace clang