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!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexander Kornienko
2015-06-19 15:57:42 +00:00
parent 883d498abf
commit cf0db29df2
940 changed files with 1157 additions and 1157 deletions

View File

@@ -217,7 +217,7 @@ private:
unsigned IsThin : 1;
};
}
}
} // namespace object
} // namespace llvm
#endif

View File

@@ -46,6 +46,6 @@ std::pair<StringRef, std::error_code>
writeArchive(StringRef ArcName, std::vector<NewArchiveIterator> &NewMembers,
bool WriteSymtab);
}
} // namespace llvm
#endif

View File

@@ -178,7 +178,7 @@ template <typename T> const T* OwningBinary<T>::getBinary() const {
}
ErrorOr<OwningBinary<Binary>> createBinary(StringRef Path);
}
}
} // namespace object
} // namespace llvm
#endif

View File

@@ -37,7 +37,7 @@ inline DLLCharacteristics operator|(DLLCharacteristics a,
uint16_t Ret = static_cast<uint16_t>(a) | static_cast<uint16_t>(b);
return static_cast<DLLCharacteristics>(Ret);
}
}
} // namespace COFF
// The structure of the yaml files is not an exact 1:1 match to COFF. In order
// to use yaml::IO, we use these structures which are closer to the source.
@@ -87,8 +87,8 @@ namespace COFFYAML {
std::vector<Symbol> Symbols;
Object();
};
}
}
} // namespace COFFYAML
} // namespace llvm
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Section)
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Symbol)

View File

@@ -898,7 +898,7 @@ inline std::error_code GetELFSymbolVersion(const ObjectFile *Obj,
return cast<ELFObjectFileBase>(Obj)
->getSymbolVersion(Sym, Version, IsDefault);
}
}
}
} // namespace object
} // namespace llvm
#endif

View File

@@ -68,7 +68,7 @@ public:
static ErrorOr<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
LLVMContext &Context);
};
}
}
} // namespace object
} // namespace llvm
#endif

View File

@@ -503,8 +503,8 @@ inline const ObjectFile *DiceRef::getObjectFile() const {
return OwningObject;
}
}
}
} // namespace object
} // namespace llvm
#endif

View File

@@ -112,7 +112,7 @@ public:
getObjectForArch(Triple::ArchType Arch) const;
};
}
}
} // namespace object
} // namespace llvm
#endif

View File

@@ -446,6 +446,6 @@ private:
}
};
}
}
} // namespace object
} // namespace llvm
#endif

View File

@@ -195,7 +195,7 @@ inline const SymbolicFile *BasicSymbolRef::getObject() const {
return OwningObject;
}
}
}
} // namespace object
} // namespace llvm
#endif