[all-commits] [llvm/llvm-project] 56b984: [clang][AST] Fix spaces in TypePrinter for some ca...
Nick Sarnie via All-commits
all-commits at lists.llvm.org
Sat Jun 7 09:47:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56b98449c8f047c983508b13294a9610f8df0e2b
https://github.com/llvm/llvm-project/commit/56b98449c8f047c983508b13294a9610f8df0e2b
Author: Nick Sarnie <nick.sarnie at intel.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/TypePrinter.cpp
A clang/test/AST/ast-dump-type-callingconv.cpp
Log Message:
-----------
[clang][AST] Fix spaces in TypePrinter for some calling convs (#143160)
There needs to be a space as the first character, otherwise the printed
function prototype will have the CC attribute attached to the final `)`.
I noticed this looking at the AST for a function with
`__attribute__((device_kernel))`
---------
Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>
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