vast icon indicating copy to clipboard operation
vast copied to clipboard

Missing Variable Declaration in the Lookup Table

Open kumarak opened this issue 2 years ago • 0 comments

The variable declaration may be missing in the Lookup Table while lowering the DeclRefExpr. I found a few instances of this issue with file-scoped variables and variables having non-ODR references while lowering the translation unit

Raised a PR #383 to find such cases and emit error. But it should be fixed by investigating the issue or visiting the decl node before lowering DeclRefExpr if it has not been before.

kumarak avatar Aug 24 '23 03:08 kumarak