diff --git a/common_clang.cpp b/common_clang.cpp index 392a0e31..cfae18be 100644 --- a/common_clang.cpp +++ b/common_clang.cpp @@ -244,9 +244,6 @@ Compile(const char *pszProgramSource, const char **pInputHeaders, compiler->createFileManager(OverlayFS); compiler->createSourceManager(compiler->getFileManager()); - // Calling ResetAllOptionOccurrences as WA for issue from here: - // https://reviews.llvm.org/D66324?id=219733#1680231 - llvm::cl::ResetAllOptionOccurrences(); // Create compiler invocation from user args before trickering with it clang::CompilerInvocation::CreateFromArgs(compiler->getInvocation(), optionsParser.args(), *Diags);