[llvm-bugs] [Bug 36267] Less than ideal handling of variable names in Cyrillic alphabet

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 4 17:12:06 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=36267

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #45 from Reid Kleckner <rnk at google.com> ---
Fixed in r341433 by using WriteConsoleW. Now I get this in my console:

$ clang -c t.cpp
t.cpp:3:17: error: static_assert expression is not an integral constant
expression
  static_assert(переменная, "");
                ^~~~~~~~~~
t.cpp:3:17: note: read of non-const variable 'переменная' is not allowed in a
constant expression
t.cpp:2:7: note: declared here
  int переменная = 1;
      ^
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180905/4ef22912/attachment-0001.html>


More information about the llvm-bugs mailing list