Skip to content

Commit d06733f

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

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

common_clang.cpp

Lines changed: 0 additions & 3 deletions
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)