This allows us MSAN to instrument this function. Previous version is not
instrumentable due to it shear volume.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/quality/CompletionModelCodegen.py | ||
---|---|---|
176 | Why are these member functions? Why not keep them in .cc file only, in anonymous namespace? I wonder if that will make compiler inline them and then bring back msan issues though. |
clang-tools-extra/clangd/quality/CompletionModelCodegen.py | ||
---|---|---|
176 |
We will need to add getters for member variables (hoping they would be inlined).
I think we can disable that using LLVM_ATTRIBUTE_NOINLINE |
Why are these member functions? Why not keep them in .cc file only, in anonymous namespace?
I wonder if that will make compiler inline them and then bring back msan issues though.