[PATCH] D55270: [Sema] Further improvements to to static_assert diagnostics.

Clement Courbet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 5 01:11:29 PST 2018


courbet updated this revision to Diff 176771.
courbet marked 2 inline comments as done.
courbet added a comment.

- Address comments
- Add more tests
- Remove AllowTopLevel and handle cases like `sizeof(T)` (-> `sizeof(int)`)


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55270/new/

https://reviews.llvm.org/D55270

Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/SemaTemplate.cpp
  test/SemaCXX/static-assert-cxx17.cpp
  test/SemaCXX/static-assert.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55270.176771.patch
Type: text/x-patch
Size: 8759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181205/6295954d/attachment-0001.bin>


More information about the cfe-commits mailing list