[PATCH] Add support for named values in the parser.

Samuel Benzaquen sbenza at google.com
Fri Apr 4 13:55:58 PDT 2014


  Added "Value not found" error.
  Added explicit conversion to bool on VariantValue. Replaced isNothing() with hasValue().

Hi pcc,

http://llvm-reviews.chandlerc.com/D3276

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D3276?vs=8338&id=8383#toc

Files:
  include/clang/ASTMatchers/Dynamic/Diagnostics.h
  include/clang/ASTMatchers/Dynamic/Parser.h
  include/clang/ASTMatchers/Dynamic/VariantValue.h
  lib/ASTMatchers/Dynamic/Diagnostics.cpp
  lib/ASTMatchers/Dynamic/Parser.cpp
  lib/ASTMatchers/Dynamic/Registry.cpp
  unittests/ASTMatchers/Dynamic/ParserTest.cpp
  unittests/ASTMatchers/Dynamic/VariantValueTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3276.2.patch
Type: text/x-patch
Size: 14625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140404/5bb94aca/attachment.bin>


More information about the cfe-commits mailing list