[all-commits] [llvm/llvm-project] b6fd6d: [HLSL] Use hlsl vector template in type printer (#...
Chris B via All-commits
all-commits at lists.llvm.org
Fri Jun 14 11:13:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b6fd6d4cc53d263c586264d1476265fbdcc0ba21
https://github.com/llvm/llvm-project/commit/b6fd6d4cc53d263c586264d1476265fbdcc0ba21
Author: Chris B <chris.bieneman at me.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/include/clang/AST/PrettyPrinter.h
M clang/lib/AST/TypePrinter.cpp
M clang/test/AST/HLSL/pch.hlsl
M clang/test/AST/HLSL/pch_with_buf.hlsl
M clang/test/AST/HLSL/vector-alias.hlsl
M clang/test/AST/HLSL/vector-constructors.hlsl
M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
M clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/vector-errors.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzleErrors.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
M clang/test/SemaHLSL/VectorOverloadResolution.hlsl
M clang/test/SemaHLSL/standard_conversion_sequences.hlsl
Log Message:
-----------
[HLSL] Use hlsl vector template in type printer (#95489)
In HLSL we really want to be using the HLSL vector template and other
built-in sugared spellings for some builtin types. This updates the type
printer to take an option to use HLSL type spellings.
This changes printing vector type names from:
```
T __attribute__((ext_vector_type(N)))
```
To:
```
vector<T, N>
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list