[cfe-dev] gtest and AST matchers

Richard legalize at xmission.com
Tue Nov 19 09:12:09 PST 2013


In article <528B2706.9050706 at iar.com>,
    Jesper Eskilson <jesper.eskilson at iar.com> writes:

> Apparently it does work. The problem was that my matcher matched on 
> expr(), but there is no expression in the code, so the matcher callback 
> was never invoked. Duh. Changing "expr()" to "varDecl()" solved the 
> problem :D

Unit Tests FTW!
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>



More information about the cfe-dev mailing list