[PATCH] D59465: [analyzer] Add example plugin for checker option handling

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 29 05:31:11 PDT 2019


whisperity added a comment.

@Szelethus I know the dependent patch D59464 <https://reviews.llvm.org/D59464> will move `examples/analyzer-plugin` to `test/Analysis/plugins/...`, but this patch still seems to affect `examples/`. Are you sure this is the right diff? Because you are adding brand new files and brand new "folders", I don't think that'll apply cleanly.



================
Comment at: test/Analysis/checker-plugins.c:35
+// RUN: %clang_analyze_cc1 %s \
+// RUN:   -load %llvmshlibdir/OptionHandlingAnalyzerPlugin%pluginext\
+// RUN:   -analyzer-checker=example.MyChecker \
----------------
Why isn't here a space before the line break escape `\`, but in the other lines?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59465/new/

https://reviews.llvm.org/D59465





More information about the cfe-commits mailing list