From 241557fb0600fcef67bdd0698fbbd2fb9a3459e2 Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Tue, 28 Jun 2022 16:02:10 +0200 Subject: [PATCH] [pseudo] Move cxx grammar into the cxx/ directory. NFC --- clang-tools-extra/pseudo/include/CMakeLists.txt | 2 +- clang-tools-extra/pseudo/lib/{ => cxx}/cxx.bnf | 0 clang-tools-extra/pseudo/test/lit.local.cfg | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename clang-tools-extra/pseudo/lib/{ => cxx}/cxx.bnf (100%) diff --git a/clang-tools-extra/pseudo/include/CMakeLists.txt b/clang-tools-extra/pseudo/include/CMakeLists.txt index 9225959..11a3e47 100644 --- a/clang-tools-extra/pseudo/include/CMakeLists.txt +++ b/clang-tools-extra/pseudo/include/CMakeLists.txt @@ -1,5 +1,5 @@ # The cxx.bnf grammar file -set(cxx_bnf ${CMAKE_CURRENT_SOURCE_DIR}/../lib/cxx.bnf) +set(cxx_bnf ${CMAKE_CURRENT_SOURCE_DIR}/../lib/cxx/cxx.bnf) set(CLANG_PSEUDO_GEN "clang-pseudo-gen" CACHE STRING "Host clang-pseudo-gen executable. Saves building if cross-compiling.") diff --git a/clang-tools-extra/pseudo/lib/cxx.bnf b/clang-tools-extra/pseudo/lib/cxx/cxx.bnf similarity index 100% rename from clang-tools-extra/pseudo/lib/cxx.bnf rename to clang-tools-extra/pseudo/lib/cxx/cxx.bnf diff --git a/clang-tools-extra/pseudo/test/lit.local.cfg b/clang-tools-extra/pseudo/test/lit.local.cfg index 899b7e1..b5969c8 100644 --- a/clang-tools-extra/pseudo/test/lit.local.cfg +++ b/clang-tools-extra/pseudo/test/lit.local.cfg @@ -1,2 +1,2 @@ -cxx_bnf_file = os.path.join(config.clang_pseudo_source_dir, 'lib', 'cxx.bnf') +cxx_bnf_file = os.path.join(config.clang_pseudo_source_dir, 'lib', 'cxx', 'cxx.bnf') config.substitutions.append(('%cxx-bnf-file', cxx_bnf_file)) -- 2.7.4