[llvm] 2013be4 - ModuleTest.cpp - fix implicit SourceMgr.h dependency. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 04:31:33 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-23T12:29:52+01:00
New Revision: 2013be483687583d63fc7daef3347eb9906b5584
URL: https://github.com/llvm/llvm-project/commit/2013be483687583d63fc7daef3347eb9906b5584
DIFF: https://github.com/llvm/llvm-project/commit/2013be483687583d63fc7daef3347eb9906b5584.diff
LOG: ModuleTest.cpp - fix implicit SourceMgr.h dependency. NFC.
ModuleTest.cpp was depending on other headers to define SMDiagnostic.
Added:
Modified:
llvm/unittests/IR/ModuleTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/IR/ModuleTest.cpp b/llvm/unittests/IR/ModuleTest.cpp
index 975427d08d48..9fb9b8b057a5 100644
--- a/llvm/unittests/IR/ModuleTest.cpp
+++ b/llvm/unittests/IR/ModuleTest.cpp
@@ -12,6 +12,7 @@
#include "llvm/IR/ModuleSummaryIndex.h"
#include "llvm/Pass.h"
#include "llvm/Support/RandomNumberGenerator.h"
+#include "llvm/Support/SourceMgr.h"
#include "gtest/gtest.h"
#include <random>
More information about the llvm-commits
mailing list