diff --git a/indra/llcommon/tests/llheteromap_test.cpp b/indra/llcommon/tests/llheteromap_test.cpp
index 4f38933e506400eab6b4b5d4ed38806de86d1be9..686bffb878b44c8de1da45fb45d80e606cbb1127 100644
--- a/indra/llcommon/tests/llheteromap_test.cpp
+++ b/indra/llcommon/tests/llheteromap_test.cpp
@@ -17,12 +17,16 @@
 #include <set>
 // std headers
 // external library headers
+
+// (pacify clang)
+std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset);
 // other Linden headers
 #include "../test/lltut.h"
 
 static std::string clog;
 static std::set<std::string> dlog;
 
+// want to be able to use ensure_equals() on a set<string>
 std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset)
 {
     out << '{';
@@ -37,6 +41,7 @@ std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset)
     return out;
 }
 
+// unrelated test classes
 struct Chalk
 {
     int dummy;