Skip to content

Issues: llvm/llvm-project

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

__attribute__((lifetimebound)) cannot be applied on the implicit "this" parameter clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#121905 opened Jan 7, 2025 by hokein
[clang] False diagnositc for container for pointer with lifetimebound clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#116066 opened Nov 13, 2024 by usx95
Dangling false positive if the the owner is also moved in the initializer. clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#114201 opened Oct 30, 2024 by hokein
No dangling assignment involving lifetimebound argument clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#112234 opened Oct 14, 2024 by usx95
[[gsl::Pointer]] does not diagnose dangling-through-function-call clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#111768 opened Oct 9, 2024 by pkasting
Diagnose dangling assignments for std::initializer_list. clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#110103 opened Sep 26, 2024 by hokein
Unnecessary warning for the fixed range-based for loop in C++23 c++23 clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr) false-positive Warning fires when it should not
#109793 opened Sep 24, 2024 by josuttis
lifetimebound has a confusing diagnostic about not being a type attribute clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:frontend Language frontend issues, e.g. anything involving "Sema" clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#107252 opened Sep 4, 2024 by AaronBallman
Missing -Wreturn-stack-address cases for lambda. clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr) false-negative lambda C++11 lambda expressions
#102050 opened Aug 5, 2024 by hokein
[[lifetimebound]] assignment seems to interfere with tracking clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr) false-negative
#100746 opened Jul 26, 2024 by DenisYaroshevskiy
[[gsl::Pointer]] does not diagnose dangling-after-copy clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:frontend Language frontend issues, e.g. anything involving "Sema" clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#99685 opened Jul 19, 2024 by pkasting
[[clang::lifetimebound]] is ignored without warning if the function parameter doesn't have a name. clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer clang:frontend Language frontend issues, e.g. anything involving "Sema" clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
#96034 opened Jun 19, 2024 by hokein
lifetimebound on more functions, including container methods clang:memory-safety Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr) enhancement Improving things as opposed to bug fixing, e.g. new or missing feature libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
#62390 opened Apr 26, 2023 by higher-performance
ProTip! Follow long discussions with comments:>50.