[PATCH] D77962: PR38490: Support reading values out of __uuidof(X) expressions during constant evaluation.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 11 22:26:11 PDT 2020


rsmith created this revision.
rsmith added reviewers: aeubanks, rnk.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

We try to avoid materializing a full _GUID APValue wherever possible;
instead, when accessing an individual field, we only extract the
corresponding portion of the UUID string and convert that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77962

Files:
  clang/include/clang/Basic/DiagnosticASTKinds.td
  clang/lib/AST/ExprConstant.cpp
  clang/test/CodeGenCXX/microsoft-uuidof.cpp
  clang/test/Parser/MicrosoftExtensions.cpp
  clang/test/SemaCXX/ms-uuid.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77962.256823.patch
Type: text/x-patch
Size: 11898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200412/4d5779ea/attachment-0001.bin>


More information about the cfe-commits mailing list