[PATCH] Support named values in the autocomplete feature.

Samuel Benzaquen sbenza at google.com
Fri Apr 25 06:50:24 PDT 2014


Hi pcc,

This includes:
 - Passing a Sema to completeExpression to allow for named values in the
   expression.
 - Update the Sema interface to include completion for matchers and
   values.
 - Change the parser to use the Sema for completion, instead of going
   directly to Registry.

http://reviews.llvm.org/D3509

Files:
  include/clang/ASTMatchers/Dynamic/Parser.h
  include/clang/ASTMatchers/Dynamic/Registry.h
  include/clang/ASTMatchers/Dynamic/VariantValue.h
  lib/ASTMatchers/Dynamic/Marshallers.h
  lib/ASTMatchers/Dynamic/Parser.cpp
  lib/ASTMatchers/Dynamic/Registry.cpp
  lib/ASTMatchers/Dynamic/VariantValue.cpp
  unittests/ASTMatchers/Dynamic/ParserTest.cpp
  unittests/ASTMatchers/Dynamic/RegistryTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3509.8839.patch
Type: text/x-patch
Size: 37799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140425/43678a07/attachment.bin>


More information about the cfe-commits mailing list