rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.
================
Comment at: test/CodeCompletion/skip-auto-funcs.cpp:9
+ if (x = 10) {}
+ // Check that this function is skipped.
+ // CHECK: 8:9: warning: using the result of an assignment as a condition
without parentheses
----------------
is skipped -> is not skipped?
================
Comment at: test/CodeCompletion/skip-auto-funcs.cpp:18
+ if (x = 10) {}
+ // Check that this function is skipped.
+ // CHECK: 17:9: warning: using the result of an assignment as a condition
without parentheses
----------------
is skipped -> is not skipped?
Repository:
rC Clang
https://reviews.llvm.org/D44480
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits