aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/FileUtilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/FileUtilities.cpp')
-rw-r--r--lib/Support/FileUtilities.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp
index 3262ecce31..cde288925b 100644
--- a/lib/Support/FileUtilities.cpp
+++ b/lib/Support/FileUtilities.cpp
@@ -20,6 +20,9 @@
#include <iostream>
#include <cstdio>
+namespace llvm
+{
+
/// CheckMagic - Returns true IFF the file named FN begins with Magic. FN must
/// name a readable file.
///
@@ -182,3 +185,5 @@ bool MakeFileExecutable (const std::string &Filename) {
bool MakeFileReadable (const std::string &Filename) {
return AddPermissionsBits (Filename, 0444);
}
+
+} // End llvm namespace