summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-11-05 01:37:40 +0000
committerRui Ueyama <ruiu@google.com>2013-11-05 01:37:40 +0000
commitc1800beb559c92ba4a22c62b5171ad54ac5f3b6c (patch)
tree73f15e06d98d55f2a3f12a46764b3a546406bb7e /lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
parent1c8c3fe4b4705601a48dc126520ed9c355f9e956 (diff)
downloadbcm5719-llvm-c1800beb559c92ba4a22c62b5171ad54ac5f3b6c.tar.gz
bcm5719-llvm-c1800beb559c92ba4a22c62b5171ad54ac5f3b6c.zip
Remove unnecessary namespace qualifier.
llvm-svn: 194037
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp b/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
index 932c48e5023..6dbafb24f9e 100644
--- a/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
@@ -416,7 +416,7 @@ struct MappingTraits<Symbol> {
// Custom mapping for VMProtect (e.g. "r-x").
template <>
struct ScalarTraits<VMProtect> {
- static void output(const VMProtect &value, void*, llvm::raw_ostream &out) {
+ static void output(const VMProtect &value, void*, raw_ostream &out) {
out << ( (value & llvm::MachO::VM_PROT_READ) ? 'r' : '-');
out << ( (value & llvm::MachO::VM_PROT_WRITE) ? 'w' : '-');
out << ( (value & llvm::MachO::VM_PROT_EXECUTE) ? 'x' : '-');
@@ -641,7 +641,7 @@ readYaml(std::unique_ptr<MemoryBuffer> &mb) {
/// Writes a yaml encoded mach-o files from an in-memory normalized view.
error_code
-writeYaml(const NormalizedFile &file, llvm::raw_ostream &out) {
+writeYaml(const NormalizedFile &file, raw_ostream &out) {
// YAML I/O is not const aware, so need to cast away ;-(
NormalizedFile *f = const_cast<NormalizedFile*>(&file);
OpenPOWER on IntegriCloud