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

@@ -350,7 +350,7 @@ public:
return Segments;
}
};
}
} // namespace
std::vector<StringRef> CoverageMapping::getUniqueSourceFiles() const {
std::vector<StringRef> Filenames;
@@ -521,7 +521,7 @@ class CoverageMappingErrorCategoryType : public std::error_category {
llvm_unreachable("A value of coveragemap_error has no message.");
}
};
}
} // namespace
static ManagedStatic<CoverageMappingErrorCategoryType> ErrorCategory;

View File

@@ -315,7 +315,7 @@ struct SectionData {
return std::error_code();
}
};
}
} // namespace
template <typename T, support::endianness Endian>
std::error_code readCoverageMappingData(

View File

@@ -74,7 +74,7 @@ public:
return C;
}
};
}
} // namespace
/// \brief Encode the counter.
///

View File

@@ -54,7 +54,7 @@ class InstrProfErrorCategoryType : public std::error_category {
llvm_unreachable("A value of instrprof_error has no message.");
}
};
}
} // namespace
static ManagedStatic<InstrProfErrorCategoryType> ErrorCategory;

View File

@@ -49,7 +49,7 @@ static inline uint64_t ComputeHash(HashT Type, StringRef K) {
const uint64_t Magic = 0x8169666f72706cff; // "\xfflprofi\x81"
const uint64_t Version = 2;
const HashT HashType = HashT::MD5;
}
} // namespace IndexedInstrProf
} // end namespace llvm

View File

@@ -69,7 +69,7 @@ public:
}
}
};
}
} // namespace
std::error_code
InstrProfWriter::addFunctionCounts(StringRef FunctionName,

View File

@@ -42,7 +42,7 @@ class SampleProfErrorCategoryType : public std::error_category {
llvm_unreachable("A value of sampleprof_error has no message.");
}
};
}
} // namespace
static ManagedStatic<SampleProfErrorCategoryType> ErrorCategory;