Skip to content

Commit d31e473

Browse files
committed
Remove the FIXME.
1 parent 8d8b1ed commit d31e473

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,10 +893,6 @@ static SourceFile *getPrimaryOrMainSourceFile(CompilerInvocation &Invocation,
893893
/// files were specified, use them; otherwise, dump the AST to stdout.
894894
static void dumpAST(CompilerInvocation &Invocation,
895895
CompilerInstance &Instance) {
896-
// FIXME: WMO doesn't use the notion of primary files, so this doesn't do the
897-
// right thing. Perhaps it'd be best to ignore WMO when dumping the AST, just
898-
// like WMO ignores `-incremental`.
899-
900896
auto primaryFiles = Instance.getPrimarySourceFiles();
901897
if (!primaryFiles.empty()) {
902898
for (SourceFile *sourceFile: primaryFiles) {

0 commit comments

Comments
 (0)