malcolm.parsons added inline comments.

================
Comment at: docs/LibASTMatchersReference.html:2442
   };
-fieldDecl(isBitField())
+fieldDecl(hasBitWidth(2))
   matches 'int a;' and 'int c;' but not 'int b;'.
----------------
Prazek wrote:
> Fix not connected to patch?
Yes. The documentation is generated from the comments.


================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:547
 /// \endcode
-/// fieldDecl(isBitField())
+/// fieldDecl(hasBitWidth(2))
 ///   matches 'int a;' and 'int c;' but not 'int b;'.
----------------
Prazek wrote:
> Samw
Yes.


https://reviews.llvm.org/D28034



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to