summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-19 15:57:42 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-19 15:57:42 +0000
commit70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5 (patch)
treedd9eee8a6b672d414ae91873338be655edc1f54e /llvm/lib/Support/Unix
parent55112defb087fc45b6cc1ae724d8ac04cf10b589 (diff)
downloadbcm5719-llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.tar.gz
bcm5719-llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.zip
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! llvm-svn: 240137
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Process.inc2
-rw-r--r--llvm/lib/Support/Unix/Program.inc4
-rw-r--r--llvm/lib/Support/Unix/ThreadLocal.inc2
-rw-r--r--llvm/lib/Support/Unix/TimeValue.inc2
-rw-r--r--llvm/lib/Support/Unix/Watchdog.inc4
5 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Support/Unix/Process.inc b/llvm/lib/Support/Unix/Process.inc
index df13bd22173..b15cedd7f6d 100644
--- a/llvm/lib/Support/Unix/Process.inc
+++ b/llvm/lib/Support/Unix/Process.inc
@@ -205,7 +205,7 @@ private:
int &FD;
bool KeepOpen;
};
-}
+} // namespace
std::error_code Process::FixupStandardFileDescriptors() {
int NullFD = -1;
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc
index 8947b62e4dc..dc633ab313e 100644
--- a/llvm/lib/Support/Unix/Program.inc
+++ b/llvm/lib/Support/Unix/Program.inc
@@ -176,7 +176,7 @@ static void SetMemoryLimits (unsigned size)
#endif
}
-}
+} // namespace llvm
static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
const char **envp, const StringRef **redirects,
@@ -473,4 +473,4 @@ bool llvm::sys::argumentsFitWithinSystemLimits(ArrayRef<const char*> Args) {
}
return true;
}
-}
+} // namespace llvm
diff --git a/llvm/lib/Support/Unix/ThreadLocal.inc b/llvm/lib/Support/Unix/ThreadLocal.inc
index 31c3f3835b2..a04dd3ee402 100644
--- a/llvm/lib/Support/Unix/ThreadLocal.inc
+++ b/llvm/lib/Support/Unix/ThreadLocal.inc
@@ -56,7 +56,7 @@ void ThreadLocalImpl::removeInstance() {
setInstance(nullptr);
}
-}
+} // namespace llvm
#else
namespace llvm {
using namespace sys;
diff --git a/llvm/lib/Support/Unix/TimeValue.inc b/llvm/lib/Support/Unix/TimeValue.inc
index 042e0dacc34..2c4f04c04f1 100644
--- a/llvm/lib/Support/Unix/TimeValue.inc
+++ b/llvm/lib/Support/Unix/TimeValue.inc
@@ -51,4 +51,4 @@ TimeValue TimeValue::now() {
NANOSECONDS_PER_MICROSECOND ) );
}
-}
+} // namespace llvm
diff --git a/llvm/lib/Support/Unix/Watchdog.inc b/llvm/lib/Support/Unix/Watchdog.inc
index 5d89c0e51b1..9e335aaa8ca 100644
--- a/llvm/lib/Support/Unix/Watchdog.inc
+++ b/llvm/lib/Support/Unix/Watchdog.inc
@@ -28,5 +28,5 @@ namespace llvm {
alarm(0);
#endif
}
- }
-}
+ } // namespace sys
+} // namespace llvm
OpenPOWER on IntegriCloud