r261443 - Lex: clang-format HeaderMap.h, NFC
Duncan P. N. Exon Smith via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 20 10:55:08 PST 2016
Author: dexonsmith
Date: Sat Feb 20 12:55:08 2016
New Revision: 261443
URL: http://llvm.org/viewvc/llvm-project?rev=261443&view=rev
Log:
Lex: clang-format HeaderMap.h, NFC
Modified:
cfe/trunk/include/clang/Lex/HeaderMap.h
Modified: cfe/trunk/include/clang/Lex/HeaderMap.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/HeaderMap.h?rev=261443&r1=261442&r2=261443&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/HeaderMap.h (original)
+++ cfe/trunk/include/clang/Lex/HeaderMap.h Sat Feb 20 12:55:08 2016
@@ -20,10 +20,11 @@
#include <memory>
namespace clang {
- class FileEntry;
- class FileManager;
- struct HMapBucket;
- struct HMapHeader;
+
+class FileEntry;
+class FileManager;
+struct HMapBucket;
+struct HMapHeader;
/// This class represents an Apple concept known as a 'header map'. To the
/// \#include file resolution process, it basically acts like a directory of
@@ -35,6 +36,7 @@ class HeaderMap {
HeaderMap(std::unique_ptr<const llvm::MemoryBuffer> File, bool BSwap)
: FileBuffer(std::move(File)), NeedsBSwap(BSwap) {}
+
public:
/// HeaderMap::Create - This attempts to load the specified file as a header
/// map. If it doesn't look like a HeaderMap, it gives up and returns null.
More information about the cfe-commits
mailing list