Logo
Explore Help
Register Sign In
caio/clang-p2996
1
0
Fork 0
You've already forked clang-p2996
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f548c4d83cdded0c19ca02ca9c071d8ced9ea4fd
clang-p2996/libclc/generic/lib
History
luolent a98a6e95be Add clarifying parenthesis around non-trivial conditions in ternary expressions. (#90391)
Fixes [#85868](https://github.com/llvm/llvm-project/issues/85868)

Parenthesis are added as requested on ternary operators with non trivial conditions.

I used this [precedence table](https://en.cppreference.com/w/cpp/language/operator_precedence) for reference, to make sure we get the expected behavior on each change.
2024-05-04 18:38:45 +01:00
..
async
…
atomic
…
cl_khr_global_int32_base_atomics
…
cl_khr_global_int32_extended_atomics
…
cl_khr_int64_base_atomics
…
cl_khr_int64_extended_atomics
…
cl_khr_local_int32_base_atomics
…
cl_khr_local_int32_extended_atomics
…
common
…
geometric
…
integer
…
math
Add clarifying parenthesis around non-trivial conditions in ternary expressions. (#90391)
2024-05-04 18:38:45 +01:00
misc
…
relational
…
shared
…
workitem
…
atom_int32_binary.inc
…
clc_unary.inc
…
clcmacro.h
…
gen_convert.py
libclc: clspv: update gen_convert.cl for clspv (#66902)
2024-03-14 19:56:34 +00:00
SOURCES
[libclc] Refactor build system to allow in-tree builds (#87622)
2024-04-11 17:09:07 +01:00
subnormal_config.cl
…
subnormal_disable.ll
…
subnormal_helper_func.ll
…
subnormal_use_default.ll
…
Powered by Gitea Version: 1.25.1 Page: 1039ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API