dawn-cmake/src/tint
Ben Clayton 7eb37948ab tint/reader/wgsl: Have expect_identifier return an ast::Identifier
Instead of a std::string. This avoids unnecessary string allocations, and follows the pattern of all other AST nodes.

Change-Id: I3faf534090a2033d671b2ef463d8b9ed3e47eecd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/128300
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2023-04-20 20:08:44 +00:00
..
ast Move castable into utils. 2023-04-19 23:52:33 +00:00
bench CMake: Add TINT_EXTERNAL_BENCHMARK_CORPUS_DIR 2023-04-19 15:03:19 +00:00
builtin Move sem::BuiltinType to builtin::Function. 2023-03-09 01:20:16 +00:00
cmd tint/sem: Make BindingPoint optional 2023-04-19 13:24:27 +00:00
constant Move castable into utils. 2023-04-19 23:52:33 +00:00
diagnostic Add ability to use `{EXPECT|ASSERT}_THAT` with Diagnostics. 2023-03-22 16:47:44 +00:00
fuzzers Move castable into utils. 2023-04-19 23:52:33 +00:00
inspector Move castable into utils. 2023-04-19 23:52:33 +00:00
ir Move castable into utils. 2023-04-19 23:52:33 +00:00
reader tint/reader/wgsl: Have expect_identifier return an ast::Identifier 2023-04-20 20:08:44 +00:00
resolver Move castable into utils. 2023-04-19 23:52:33 +00:00
sem Move castable into utils. 2023-04-19 23:52:33 +00:00
templates Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
transform Move text/unicode into utils. 2023-04-20 10:06:25 +00:00
type Move castable into utils. 2023-04-19 23:52:33 +00:00
utils Move text/unicode into utils. 2023-04-20 10:06:25 +00:00
val tint: Fix dxc on Linux 2022-08-03 21:40:46 +00:00
writer Move castable into utils. 2023-04-19 23:52:33 +00:00
BUILD.gn Move text/unicode into utils. 2023-04-20 10:06:25 +00:00
CMakeLists.txt Move text/unicode into utils. 2023-04-20 10:06:25 +00:00
OWNERS Add top-level OWNERS and scope Tint owners more tightly. 2022-04-07 17:59:14 +00:00
clone_context.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
clone_context.h Move castable into utils. 2023-04-19 23:52:33 +00:00
clone_context_test.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
debug.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
debug.h Convert most remaining usages to utils::StringStream. 2023-02-28 22:22:58 +00:00
debug_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
intrinsics.def tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
number.cc Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
number.h Move traits into utils. 2023-04-19 16:52:46 +00:00
number_test.cc Convert most remaining usages to utils::StringStream. 2023-02-28 22:22:58 +00:00
program.cc Remove `SymbolTable::NameFor` 2023-04-18 19:38:25 +00:00
program.h tint: Replace all remaining AST types with ast::Type 2023-02-14 13:52:43 +00:00
program_builder.cc Remove `SymbolTable::NameFor` 2023-04-18 19:38:25 +00:00
program_builder.h Move traits into utils. 2023-04-19 16:52:46 +00:00
program_builder_test.cc tint: Replace all remaining AST types with ast::Type 2023-02-14 13:52:43 +00:00
program_id.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
program_id.h Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
program_test.cc Move type::AddressSpace to builtin/ 2023-02-19 04:03:55 +00:00
reflection.h Move traits into utils. 2023-04-19 16:52:46 +00:00
reflection_test.cc tint: Add TINT_REFLECT() & ForeachField() 2022-09-02 11:40:19 +00:00
scope_stack.h tint/resolver: Reduce Hashmap fixed sizes for UA 2023-01-12 20:31:33 +00:00
scope_stack_test.cc Add an allocator to store the symbol names. 2023-04-18 19:31:21 +00:00
source.cc Move text/unicode into utils. 2023-04-20 10:06:25 +00:00
source.h Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
source_test.cc Remove tint::Source::data_view 2022-11-17 19:16:24 +00:00
switch.h Move castable into utils. 2023-04-19 23:52:33 +00:00
switch_bench.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
switch_test.cc Move castable into utils. 2023-04-19 23:52:33 +00:00
symbol.cc Make more SymbolTable methods string_view. 2023-04-19 16:58:12 +00:00
symbol.h Make more SymbolTable methods string_view. 2023-04-19 16:58:12 +00:00
symbol_table.cc Make more SymbolTable methods string_view. 2023-04-19 16:58:12 +00:00
symbol_table.h Make more SymbolTable methods string_view. 2023-04-19 16:58:12 +00:00
symbol_table_test.cc Remove `SymbolTable::NameFor` 2023-04-18 19:38:25 +00:00
symbol_test.cc Add an allocator to store the symbol names. 2023-04-18 19:31:21 +00:00
test_main.cc tint: Add Initialize() / Shutdown() public APIs 2022-11-03 19:16:26 +00:00
tint.cc tint: Add Initialize() / Shutdown() public APIs 2022-11-03 19:16:26 +00:00
tint.natvis Add an allocator to store the symbol names. 2023-04-18 19:31:21 +00:00
tint_gdb.py tint: Fix gdb and lldb pretty printers for recently updated Hashset and Hashmap 2022-11-07 14:00:53 +00:00
tint_lldb.py tint: Fix gdb and lldb pretty printers for recently updated Hashset and Hashmap 2022-11-07 14:00:53 +00:00