diff options
author | Nicolás Alvarez <nicolas.alvarez@gmail.com> | 2021-04-07 00:15:04 +0200 |
---|---|---|
committer | Matheus Izvekov <mizvekov@gmail.com> | 2021-04-07 01:20:18 +0200 |
commit | a1aada75f565fe9312e341cb850d415529a84eb2 (patch) | |
tree | 325840dac6a73c4dbaba6a9da9ca48bc0c490575 /llvm/lib/CodeGen/MachineSSAUpdater.cpp | |
parent | 52cc9df1c14cf34dbfe491cf2b4079c920a2190e (diff) | |
download | llvm-a1aada75f565fe9312e341cb850d415529a84eb2.zip llvm-a1aada75f565fe9312e341cb850d415529a84eb2.tar.gz llvm-a1aada75f565fe9312e341cb850d415529a84eb2.tar.bz2 |
[docs] Fix doxygen comments wrongly attached to the llvm namespace
Looking at the Doxygen-generated documentation for the llvm namespace
currently shows all sorts of random comments from different parts of the
codebase. These are mostly caused by:
- File doc comments that aren't marked with \file, so they're attached to
the next declaration, which is usually "namespace llvm {".
- Class doc comments placed before the namespace rather than before the
class.
- Code comments before the namespace that (in my opinion) shouldn't be
extracted by doxygen at all.
This commit fixes these comments. The generated doxygen documentation now
has proper docs for several classes and files, and the docs for the llvm
and llvm::detail namespaces are now empty.
Reviewed By: thakis, mizvekov
Differential Revision: https://reviews.llvm.org/D96736
Diffstat (limited to 'llvm/lib/CodeGen/MachineSSAUpdater.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineSSAUpdater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineSSAUpdater.cpp b/llvm/lib/CodeGen/MachineSSAUpdater.cpp index 71bf755..930677e 100644 --- a/llvm/lib/CodeGen/MachineSSAUpdater.cpp +++ b/llvm/lib/CodeGen/MachineSSAUpdater.cpp @@ -234,10 +234,10 @@ void MachineSSAUpdater::RewriteUse(MachineOperand &U) { U.setReg(NewVR); } -/// SSAUpdaterTraits<MachineSSAUpdater> - Traits for the SSAUpdaterImpl -/// template, specialized for MachineSSAUpdater. namespace llvm { +/// SSAUpdaterTraits<MachineSSAUpdater> - Traits for the SSAUpdaterImpl +/// template, specialized for MachineSSAUpdater. template<> class SSAUpdaterTraits<MachineSSAUpdater> { public: |