commit | 673f647bea28a1d97abac1c55ba5b6578345877d | [log] [tgz] |
---|---|---|
author | smanna12 <soumi.manna@intel.com> | Wed Apr 24 06:41:51 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 24 06:49:14 2024 -0700 |
tree | 6c0669fc9fc56d305c9b32f48b40993bad317dda | |
parent | 036864004355cb3b93494e9c61b1bcb242eccce8 [diff] |
[Clang] [NFC] Prevent null pointer dereference in Sema::InstantiateFunctionDefinition (#89801) In the lambda function within clang::Sema::InstantiateFunctionDefinition, the return value of a function that may return null is now checked before dereferencing to avoid potential null pointer dereference issues which can lead to crashes or undefined behavior in the program. GitOrigin-RevId: e58dcf135f3a6e453e7b123642675e39b8527f2d