Skip to content

Commit ffc23f5

Browse files
authored
Remove out-of-dated hack (#347)
Faulty code was fixed in llvm/llvm-project@6d2b75e Signed-off-by: Haonan Yang <[email protected]>
1 parent 27c6880 commit ffc23f5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

common_clang.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,6 @@ Compile(const char *pszProgramSource, const char **pInputHeaders,
244244
compiler->createFileManager(OverlayFS);
245245
compiler->createSourceManager(compiler->getFileManager());
246246

247-
// Calling ResetAllOptionOccurrences as WA for issue from here:
248-
// https://reviews.llvm.org/D66324?id=219733#1680231
249-
llvm::cl::ResetAllOptionOccurrences();
250247
// Create compiler invocation from user args before trickering with it
251248
clang::CompilerInvocation::CreateFromArgs(compiler->getInvocation(),
252249
optionsParser.args(), *Diags);

0 commit comments

Comments
 (0)