mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
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