tahonermann added inline comments.

================
Comment at: clang/test/Sema/ms_predefined_expr.cpp:156
+    static_assert(__FUNCTION__ ""_len == 14); // expected-warning{{string 
literal concatenation of predefined identifier '__FUNCTION__' is a Microsoft 
extension}}
 }
----------------
Here is another case to test. MSVC accepts this.
  void test_static_assert() {
    static_assert(true, __FUNCTION__);
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153914

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to