[PATCH] D46421: [analyzer][CrossTU] Extend CTU to VarDecls with initializer
Rafael Stahl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 4 01:06:03 PDT 2018
r.stahl added a comment.
Tests and doc fixes pending. First I'm interested in your thoughts to this change.
It allows to bind more symbolic values to constants if they have been defined and initialized in another TU:
use.c:
extern int * const p;
extern struct S * const s;
def.c:
int * const p = 0;
struct S * const s = { /* complex init */ };
Repository:
rC Clang
https://reviews.llvm.org/D46421
More information about the cfe-commits
mailing list