Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/functions-original.cc

Issue 2639813002: --method-blocklist should also cover free functions. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc b/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
index 5f2460316a956c01daacaffe61127caa3fc946b1..119a35ae9df6626c9a2e60e85c6da16422677d0f 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc
@@ -51,6 +51,11 @@ void F() {
void bug640688(int); // Declaration within blink namespace.
+// Tests for --method-blocklist cmdline parameter.
+namespace IdlFunctions {
+void foo();
+} // namespace IdlFunctions
+
} // namespace blink
// Definition outside of blink namespace.

Powered by Google App Engine
This is Rietveld 408576698