Typz added a comment.

Without this patch, macros with no trailing semicolon _in the body of a 
function_ are not handled properly, so I get:

  int foo(int a, int b) {
    Q_UNUSED(a) return b;
  }
  
  class Foo {
    void bar(int a, int b) { Q_UNUSED(a) Q_UNUSED(b) }
  }


https://reviews.llvm.org/D33440



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

Reply via email to