[all-commits] [llvm/llvm-project] 35bfbb: [clang][AST] createNestedNameSpecifierForScopeOf -...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Jun 21 09:42:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
https://github.com/llvm/llvm-project/commit/35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/QualTypeNames.cpp
Log Message:
-----------
[clang][AST] createNestedNameSpecifierForScopeOf - don't use dyn_cast_or_null on never null DC argument
Fixes static analysis warning about later dereferencing the DC variable which might have been null (assumed due to dyn_cast_or_null) - getRedeclContext shouldn't ever return a null value so safe to use dyn_cast instead.
Commit: f9fc6f6d7504e3c8eb6844a34a2ca988da9df21c
https://github.com/llvm/llvm-project/commit/f9fc6f6d7504e3c8eb6844a34a2ca988da9df21c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Remove dead initialization noticed by static analyser. NFC.
Commit: 2615e69ec2b373a38ffd4459609147f4c1ebe955
https://github.com/llvm/llvm-project/commit/2615e69ec2b373a38ffd4459609147f4c1ebe955
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/IR/AutoUpgrade.cpp
Log Message:
-----------
[IR] AutoUpgrade.cpp - don't directly dereference pointers from dyn_cast
Static analysis was reporting that dyn_cast<> can return null on failure - use cast<> instead
Compare: https://github.com/llvm/llvm-project/compare/6a69cfb607ba...2615e69ec2b3
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