[clang-tools-extra] 1ba7f52 - [pseudo] Update the cxx.bnf path in comments to reflect the new

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 29 06:11:47 PDT 2022


Author: Haojian Wu
Date: 2022-06-29T15:10:39+02:00
New Revision: 1ba7f5218ccdc0b4fd836cb4f0d647866f793c87

URL: https://github.com/llvm/llvm-project/commit/1ba7f5218ccdc0b4fd836cb4f0d647866f793c87
DIFF: https://github.com/llvm/llvm-project/commit/1ba7f5218ccdc0b4fd836cb4f0d647866f793c87.diff

LOG: [pseudo] Update the cxx.bnf path in comments to reflect the new
location, NFC

Added: 
    

Modified: 
    clang-tools-extra/pseudo/include/clang-pseudo/cxx/CXX.h
    clang-tools-extra/pseudo/test/check-cxx-bnf.test

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/pseudo/include/clang-pseudo/cxx/CXX.h b/clang-tools-extra/pseudo/include/clang-pseudo/cxx/CXX.h
index 4acad01588124..707297d3fb32d 100644
--- a/clang-tools-extra/pseudo/include/clang-pseudo/cxx/CXX.h
+++ b/clang-tools-extra/pseudo/include/clang-pseudo/cxx/CXX.h
@@ -7,9 +7,9 @@
 //===----------------------------------------------------------------------===//
 //
 //  This file defines public interfaces for the C++ grammar
-//  (pseudo/lib/cxx.bnf). It provides a fast way to access core building pieces
-//  of the LR parser, e.g. Grammar, LRTable, rather than parsing the grammar
-//  file at the runtime.
+//  (pseudo/lib/cxx/cxx.bnf). It provides a fast way to access core building
+//  pieces of the LR parser, e.g. Grammar, LRTable, rather than parsing the
+//  grammar file at the runtime.
 //
 //  We do a compilation of the C++ BNF grammar at build time, and generate
 //  critical data sources. The implementation of the interfaces are based on the

diff  --git a/clang-tools-extra/pseudo/test/check-cxx-bnf.test b/clang-tools-extra/pseudo/test/check-cxx-bnf.test
index e7e7194257629..b825ff32faa1c 100644
--- a/clang-tools-extra/pseudo/test/check-cxx-bnf.test
+++ b/clang-tools-extra/pseudo/test/check-cxx-bnf.test
@@ -1,2 +1,2 @@
-// verify clang/lib/Tooling/Syntax/Pseudo/cxx.bnf
+// verify clang/lib/Tooling/Syntax/Pseudo/cxx/cxx.bnf
 // RUN: clang-pseudo -grammar=%cxx-bnf-file


        


More information about the cfe-commits mailing list