Author: Sam McCall Date: 2022-06-28T16:02:10+02:00 New Revision: 241557fb0600fcef67bdd0698fbbd2fb9a3459e2
URL: https://github.com/llvm/llvm-project/commit/241557fb0600fcef67bdd0698fbbd2fb9a3459e2 DIFF: https://github.com/llvm/llvm-project/commit/241557fb0600fcef67bdd0698fbbd2fb9a3459e2.diff LOG: [pseudo] Move cxx grammar into the cxx/ directory. NFC Added: clang-tools-extra/pseudo/lib/cxx/cxx.bnf Modified: clang-tools-extra/pseudo/include/CMakeLists.txt clang-tools-extra/pseudo/test/lit.local.cfg Removed: clang-tools-extra/pseudo/lib/cxx.bnf ################################################################################ diff --git a/clang-tools-extra/pseudo/include/CMakeLists.txt b/clang-tools-extra/pseudo/include/CMakeLists.txt index 92259594bce1f..11a3e47157ead 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 899b7e159a7f4..b5969c8874698 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)) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits