[PATCH] D122805: [analyzer][ctu] Only import const and trivial VarDecls

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 31 11:11:42 PDT 2022


steakhal accepted this revision.
steakhal added a comment.
This revision is now accepted and ready to land.

In D122805#3419662 <https://reviews.llvm.org/D122805#3419662>, @martong wrote:

> In D122805#3419129 <https://reviews.llvm.org/D122805#3419129>, @steakhal wrote:
>
>> Please add a test case where the class is trivial but the global variable of such is non-const, thus the initialized expression is not imported.
>
> I've added a new case, but that is not very meaningful, because `clang-extdef-mapping` is not capable of emitting the USR for the non-const variable.

What do you mean by //not capable//?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122805/new/

https://reviews.llvm.org/D122805



More information about the cfe-commits mailing list