Jelajahi Sumber

Rename files to use abbreviations (#3389)

Reflects these recent PRs:
* #3375 
* #3382
josh11b 2 tahun lalu
induk
melakukan
109e7889dd

+ 2 - 2
toolchain/check/BUILD

@@ -34,7 +34,7 @@ cc_library(
         "check.cpp",
         "check.cpp",
         "context.cpp",
         "context.cpp",
         "convert.cpp",
         "convert.cpp",
-        "declaration_name_stack.cpp",
+        "decl_name_stack.cpp",
         "inst_block_stack.cpp",
         "inst_block_stack.cpp",
         "return.cpp",
         "return.cpp",
         "return.h",
         "return.h",
@@ -47,7 +47,7 @@ cc_library(
         "check.h",
         "check.h",
         "context.h",
         "context.h",
         "convert.h",
         "convert.h",
-        "declaration_name_stack.h",
+        "decl_name_stack.h",
         "inst_block_stack.h",
         "inst_block_stack.h",
         "pending_block.h",
         "pending_block.h",
     ],
     ],

+ 1 - 1
toolchain/check/context.cpp

@@ -10,7 +10,7 @@
 #include "common/check.h"
 #include "common/check.h"
 #include "common/vlog.h"
 #include "common/vlog.h"
 #include "llvm/ADT/Sequence.h"
 #include "llvm/ADT/Sequence.h"
-#include "toolchain/check/declaration_name_stack.h"
+#include "toolchain/check/decl_name_stack.h"
 #include "toolchain/check/inst_block_stack.h"
 #include "toolchain/check/inst_block_stack.h"
 #include "toolchain/lex/tokenized_buffer.h"
 #include "toolchain/lex/tokenized_buffer.h"
 #include "toolchain/parse/node_kind.h"
 #include "toolchain/parse/node_kind.h"

+ 1 - 1
toolchain/check/context.h

@@ -9,7 +9,7 @@
 #include "llvm/ADT/DenseSet.h"
 #include "llvm/ADT/DenseSet.h"
 #include "llvm/ADT/FoldingSet.h"
 #include "llvm/ADT/FoldingSet.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/SmallVector.h"
-#include "toolchain/check/declaration_name_stack.h"
+#include "toolchain/check/decl_name_stack.h"
 #include "toolchain/check/inst_block_stack.h"
 #include "toolchain/check/inst_block_stack.h"
 #include "toolchain/check/node_stack.h"
 #include "toolchain/check/node_stack.h"
 #include "toolchain/parse/tree.h"
 #include "toolchain/parse/tree.h"

+ 1 - 1
toolchain/check/declaration_name_stack.cpp → toolchain/check/decl_name_stack.cpp

@@ -2,7 +2,7 @@
 // Exceptions. See /LICENSE for license information.
 // Exceptions. See /LICENSE for license information.
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
-#include "toolchain/check/declaration_name_stack.h"
+#include "toolchain/check/decl_name_stack.h"
 
 
 #include "toolchain/check/context.h"
 #include "toolchain/check/context.h"
 
 

+ 3 - 3
toolchain/check/declaration_name_stack.h → toolchain/check/decl_name_stack.h

@@ -2,8 +2,8 @@
 // Exceptions. See /LICENSE for license information.
 // Exceptions. See /LICENSE for license information.
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
-#ifndef CARBON_TOOLCHAIN_CHECK_DECLARATION_NAME_STACK_H_
-#define CARBON_TOOLCHAIN_CHECK_DECLARATION_NAME_STACK_H_
+#ifndef CARBON_TOOLCHAIN_CHECK_DECL_NAME_STACK_H_
+#define CARBON_TOOLCHAIN_CHECK_DECL_NAME_STACK_H_
 
 
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/SmallVector.h"
 #include "toolchain/parse/tree.h"
 #include "toolchain/parse/tree.h"
@@ -198,4 +198,4 @@ class DeclNameStack {
 
 
 }  // namespace Carbon::Check
 }  // namespace Carbon::Check
 
 
-#endif  // CARBON_TOOLCHAIN_CHECK_DECLARATION_NAME_STACK_H_
+#endif  // CARBON_TOOLCHAIN_CHECK_DECL_NAME_STACK_H_

+ 0 - 0
toolchain/check/handle_call_expression.cpp → toolchain/check/handle_call_expr.cpp


+ 0 - 0
toolchain/check/handle_expression_statement.cpp → toolchain/check/handle_expr_statement.cpp


+ 0 - 0
toolchain/check/handle_if_expression.cpp → toolchain/check/handle_if_expr.cpp


+ 0 - 0
toolchain/lower/handle_expression_category.cpp → toolchain/lower/handle_expr_category.cpp


+ 0 - 0
toolchain/parse/handle_array_expression.cpp → toolchain/parse/handle_array_expr.cpp


+ 0 - 0
toolchain/parse/handle_brace_expression.cpp → toolchain/parse/handle_brace_expr.cpp


+ 0 - 0
toolchain/parse/handle_call_expression.cpp → toolchain/parse/handle_call_expr.cpp


+ 0 - 0
toolchain/parse/handle_declaration_name_and_params.cpp → toolchain/parse/handle_decl_name_and_params.cpp


+ 0 - 0
toolchain/parse/handle_declaration_scope_loop.cpp → toolchain/parse/handle_decl_scope_loop.cpp


+ 0 - 0
toolchain/parse/handle_expression.cpp → toolchain/parse/handle_expr.cpp


+ 0 - 0
toolchain/parse/handle_index_expression.cpp → toolchain/parse/handle_index_expr.cpp


+ 0 - 0
toolchain/parse/handle_paren_expression.cpp → toolchain/parse/handle_paren_expr.cpp