[cfe-commits] [PATCH] Parsing C++0x lambda expressions

John Freeman jfreeman at cse.tamu.edu
Thu Jul 21 12:25:42 PDT 2011


I forgot to add that the latest patch adds a call to the new lambda 
parsing function, and one of the tests breaks: 
Parser/cxx0x-attributes.cpp. On line 20, attribute syntax ("[[]]") is 
used where an expression is expected. Consequently, instead of 
generating the expected error ("expected expression"), two errors 
related to lambda parsing are generated. The first comes from the lambda 
parsing function, and the second comes after lambda parsing returns 
ExprEmpty(). How should this be handled?

- John



More information about the cfe-commits mailing list