Skip to content

Commit 34829e9

Browse files
committed
C++: Remove uniqueness constraint from uuid
Different class definitions can have the same uuid. This happens for example when using `#import <msxml6.dll>` there will be several C++ classes generated in `msxml6.tlh` which will share uuids with `extern "C"` struct declarations in the system header `msxml.h`. Notice that as far as the standard cpp QL library and queries go, we expose `getUuid()` on `UserType` and we never try to invert it, so we only rely on uniqueness of the `id` column in the `usertype_uuid` table, not the `uuid` column. Closes github/codeql-c-team#893
1 parent dfb20f7 commit 34829e9

File tree

7 files changed

+8389
-1
lines changed

7 files changed

+8389
-1
lines changed

0 commit comments

Comments
 (0)