Ziqing Luo

Results issues of Ziqing Luo

cherry-picked from `swiftlang/llvm-project/next`

The basic idea is to create a wrapper class that owns a container holding AST nodes. With that, substitution can be done by manipulating the container. This implementation uses a...

Previous contributions added alias analysis and strengthened soundness by invalidating out-parameters in beta mode. The latter feature introduced a distinction between the contexts before and after a function call, because...

Hi Static Analyzer Developers, I was investigating a downstream bug arose from C++ standard library changes. There is a minimal reproducer: ``` // RUN: %clang_analyze_cc1 -analyzer-checker=cplusplus -verify %s namespace std...

clang:static analyzer

A minimal example (https://godbolt.org/z/o99n7db3e): ``` #include class T { public: T () {} }; bool check() { static std::once_flag flag; auto fun = [](T S)->void{}; std::call_once(flag, fun, T()); } ```...

clang:static analyzer
crash-on-valid

`git bisect` shows that #136855 causes a new false error on the example below. ``` #include typedef const struct T * T_Ref; static T_Ref _Atomic x = ATOMIC_VAR_INIT((void*)NULL); ``` After...

clang:diagnostics
confirmed

The following examples involving `BindingDecl`s cannot be handled by existing pointer analysis: ```c++ void f(int *p int *q) { { int *Arr[2] = {p, q}; auto [a, b] = Arr;...

clang:ssaf