Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4
# 27ef549a 29-Oct-2024 z1nke <iamczn.cpp@gmail.com>

[clang-tidy] Fix crash in modernize-use-designated-initializers check (#113688)

Fix #113652.

When calling `Node.isAggregate()` and `Node.isPOD()`, if `Node` is declared but
not defined, it will

[clang-tidy] Fix crash in modernize-use-designated-initializers check (#113688)

Fix #113652.

When calling `Node.isAggregate()` and `Node.isPOD()`, if `Node` is declared but
not defined, it will result in null pointer dereference (and if assertions are
enabled, it will cause an assertion failure).

show more ...


Revision tags: llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8
# 31b84d45 09-Jun-2024 Piotr Zegar <me@piotrzegar.pl>

[clang-tidy] Extend modernize-use-designated-initializers with new options (#94651)

Add StrictCStandardCompliance and StrictCppStandardCompliance options
that default to true.

Closes #83732


Revision tags: llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1
# 21be2fbd 29-Feb-2024 Piotr Zegar <me@piotrzegar.pl>

[clang-tidy][NFC] Fix buffer overflow in modernize-use-designated-initializers

Instance of DenseMap were copied into local variable,
and as a result reference to string stored in that local
variable

[clang-tidy][NFC] Fix buffer overflow in modernize-use-designated-initializers

Instance of DenseMap were copied into local variable,
and as a result reference to string stored in that local
variable were returned from function. At the end fix-it
were applied with already destroyed string causing some
non utf-8 characters to be printed.

Related to #80541

show more ...


# 525fe449 29-Feb-2024 Danny Mösch <danny.moesch@icloud.com>

[clang-tidy] Add new check `modernize-use-designated-initializers` (#80541)