From 9d5ae2174b5fabc251afe929abd5913e4b866cb7 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 16 May 2015 03:10:31 +0000 Subject: Update to match clang r237508. llvm-svn: 237509 --- clang-tools-extra/modularize/ModularizeUtilities.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang-tools-extra/modularize/ModularizeUtilities.cpp') diff --git a/clang-tools-extra/modularize/ModularizeUtilities.cpp b/clang-tools-extra/modularize/ModularizeUtilities.cpp index 1bbae3c84ab..62b6e911fbf 100644 --- a/clang-tools-extra/modularize/ModularizeUtilities.cpp +++ b/clang-tools-extra/modularize/ModularizeUtilities.cpp @@ -278,14 +278,14 @@ bool ModularizeUtilities::collectModuleHeaders(const Module &Mod) { MI != MIEnd; ++MI) collectModuleHeaders(**MI); - if (const FileEntry *UmbrellaHeader = Mod.getUmbrellaHeader()) { + if (const FileEntry *UmbrellaHeader = Mod.getUmbrellaHeader().Entry) { std::string HeaderPath = getCanonicalPath(UmbrellaHeader->getName()); // Collect umbrella header. HeaderFileNames.push_back(HeaderPath); // FUTURE: When needed, umbrella header header collection goes here. } - else if (const DirectoryEntry *UmbrellaDir = Mod.getUmbrellaDir()) { + else if (const DirectoryEntry *UmbrellaDir = Mod.getUmbrellaDir().Entry) { // If there normal headers, assume these are umbrellas and skip collection. if (Mod.Headers->size() == 0) { // Collect headers in umbrella directory. -- cgit v1.2.3