[PATCH] D92774: [clang][cli] CompilerInvocationTest: add tests for boolean options

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 8 06:36:27 PST 2020


jansvoboda11 added a comment.

WIP, need to fix a typo in the test.



================
Comment at: clang/unittests/Frontend/CompilerInvocationTest.cpp:141
+  ASSERT_TRUE(Diags->hasErrorOccurred()); // Driver-only flag.
+  ASSERT_TRUE(Invocation.getCodeGenOpts().Autolink);
+}
----------------
This is wrong, let me fix that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92774



More information about the cfe-commits mailing list