[llvm-bugs] [Bug 21856] [fuzz] Assertion `RParenLoc.isValid() || NumArgs == 1' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 21 16:21:56 PDT 2016


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |FIXED

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Looks fixed:

$ clang -cc1 -std=c++11 -emit-llvm-only ~/Downloads/rparenloc-isvalid.cpp
C:/Users/rnk/Downloads/rparenloc-isvalid.cpp:1:39: error: expected ';' after
struct
template <typename, typename> struct Y
                                      ^
                                      ;
C:/Users/rnk/Downloads/rparenloc-isvalid.cpp:2:29: error: expected ')'
  int x = Y<int, float>(D, y
                            ^
C:/Users/rnk/Downloads/rparenloc-isvalid.cpp:2:24: note: to match this '('
  int x = Y<int, float>(D, y
                       ^
C:/Users/rnk/Downloads/rparenloc-isvalid.cpp:2:25: error: use of undeclared
identifier 'D'
  int x = Y<int, float>(D, y
                        ^
C:/Users/rnk/Downloads/rparenloc-isvalid.cpp:2:28: error: use of undeclared
identifier 'y'
  int x = Y<int, float>(D, y
                           ^
C:/Users/rnk/Downloads/rparenloc-isvalid.cpp:2:29: error: expected ';' after
top level declarator
  int x = Y<int, float>(D, y
                            ^
                            ;
5 errors 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/20161021/09d2e59a/attachment-0001.html>


More information about the llvm-bugs mailing list