Skip to content

Commit baf89af

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

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
@@ -258,9 +258,6 @@ Compile(const char *pszProgramSource, const char **pInputHeaders,
258258
compiler->createFileManager(OverlayFS);
259259
compiler->createSourceManager(compiler->getFileManager());
260260

261-
// Calling ResetAllOptionOccurrences as WA for issue from here:
262-
// https://reviews.llvm.org/D66324?id=219733#1680231
263-
llvm::cl::ResetAllOptionOccurrences();
264261
// Create compiler invocation from user args before trickering with it
265262
clang::CompilerInvocation::CreateFromArgs(compiler->getInvocation(),
266263
optionsParser.args(), *Diags);

0 commit comments

Comments
 (0)