[cfe-dev] Silencing an annoying warning.

Enea Zaffanella zaffanella at cs.unipr.it
Sun Jan 17 01:36:36 PST 2010


The tiny patch in attachment silences the following gcc warning, 
obtained when instantiating template TypeLocVisitor:

llvm/tools/clang/include/clang/AST/TypeLocVisitor.h:46: warning: control 
reaches end of non-void function

Cheers,
Enea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TypeLocVisitor-warning.patch
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100117/72ec2639/attachment.bin>


More information about the cfe-dev mailing list