Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)

Apparently, the style needs to be agreed upon first.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240390 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexander Kornienko
2015-06-23 09:49:53 +00:00
parent d96e362b3f
commit cd52a7a381
939 changed files with 1156 additions and 1156 deletions

View File

@@ -1896,11 +1896,11 @@ inline APInt Xor(const APInt &LHS, const APInt &RHS) { return LHS ^ RHS; }
/// Performs a bitwise complement operation on APInt.
inline APInt Not(const APInt &APIVal) { return ~APIVal; }
} // namespace APIntOps
} // End of APIntOps namespace
// See friend declaration above. This additional declaration is required in
// order to compile LLVM with IBM xlC compiler.
hash_code hash_value(const APInt &Arg);
} // namespace llvm
} // End of llvm namespace
#endif

View File

@@ -366,6 +366,6 @@ namespace llvm {
template <typename T> struct isPodLike<ArrayRef<T> > {
static const bool value = true;
};
} // namespace llvm
}
#endif

View File

@@ -568,7 +568,7 @@ private:
}
};
} // namespace llvm
} // End llvm namespace
namespace std {
/// Implement std::swap in terms of BitVector swap.

View File

@@ -42,7 +42,7 @@ struct DenseMapPair : public std::pair<KeyT, ValueT> {
ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; }
};
} // namespace detail
}
template <
typename KeyT, typename ValueT, typename KeyInfoT = DenseMapInfo<KeyT>,

View File

@@ -32,7 +32,7 @@ public:
DenseSetEmpty &getSecond() { return *this; }
const DenseSetEmpty &getSecond() const { return *this; }
};
} // namespace detail
}
/// DenseSet - This implements a dense probed hash-table based set.
template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >

View File

@@ -288,6 +288,6 @@ iterator_range<idf_ext_iterator<T, SetTy>> inverse_depth_first_ext(const T& G,
return make_range(idf_ext_begin(G, S), idf_ext_end(G, S));
}
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -278,6 +278,6 @@ public:
};
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -101,6 +101,6 @@ struct GraphTraits<Inverse<Inverse<T> > > {
}
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -80,6 +80,6 @@ template <typename T, typename ToIndexT = llvm::identity<unsigned> >
}
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -83,6 +83,6 @@ public:
void uncompress();
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -204,6 +204,6 @@ void operator>=(const Optional<T> &X, const Optional<U> &Y);
template<typename T, typename U>
void operator>(const Optional<T> &X, const Optional<U> &Y);
} // namespace llvm
} // end llvm namespace
#endif

View File

@@ -507,6 +507,6 @@ namespace llvm {
RHS.template get<U>()));
}
};
} // namespace llvm
}
#endif

View File

@@ -295,6 +295,6 @@ public:
rpo_iterator end() { return Blocks.rend(); }
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -79,6 +79,6 @@ public:
}
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -240,6 +240,6 @@ template <class T> scc_iterator<Inverse<T> > scc_end(const Inverse<T> &G) {
return scc_iterator<Inverse<T> >::end(G);
}
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -417,6 +417,6 @@ template <typename T> struct deref {
}
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -66,6 +66,6 @@ void set_subtract(S1Ty &S1, const S2Ty &S2) {
S1.erase(*SI);
}
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -225,7 +225,7 @@ public:
}
};
} // namespace llvm
} // End llvm namespace
// vim: sw=2 ai
#endif

View File

@@ -588,7 +588,7 @@ operator^(const SmallBitVector &LHS, const SmallBitVector &RHS) {
return Result;
}
} // namespace llvm
} // End llvm namespace
namespace std {
/// Implement std::swap in terms of BitVector swap.

View File

@@ -334,7 +334,7 @@ public:
}
};
} // namespace llvm
}
namespace std {
/// Implement std::swap in terms of SmallPtrSet swap.

View File

@@ -292,6 +292,6 @@ public:
}
};
} // namespace llvm
}
#endif

View File

@@ -924,7 +924,7 @@ static inline size_t capacity_in_bytes(const SmallVector<T, N> &X) {
return X.capacity_in_bytes();
}
} // namespace llvm
} // End llvm namespace
namespace std {
/// Implement std::swap in terms of SmallVector swap.
@@ -940,6 +940,6 @@ namespace std {
swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) {
LHS.swap(RHS);
}
} // namespace std
}
#endif

View File

@@ -176,6 +176,6 @@ void PrintStatistics();
/// \brief Print statistics to the given output stream.
void PrintStatistics(raw_ostream &OS);
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -207,6 +207,6 @@ inline std::string join(IteratorT Begin, IteratorT End, StringRef Separator) {
return join_impl(Begin, End, Separator, tag());
}
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -447,6 +447,6 @@ public:
}
};
} // namespace llvm
}
#endif

View File

@@ -566,6 +566,6 @@ namespace llvm {
// StringRefs can be treated like a POD type.
template <typename T> struct isPodLike;
template <> struct isPodLike<StringRef> { static const bool value = true; };
} // namespace llvm
}
#endif

View File

@@ -29,6 +29,6 @@ namespace llvm {
return base::insert(std::make_pair(Key, '\0'));
}
};
} // namespace llvm
}
#endif // LLVM_ADT_STRINGSET_H

View File

@@ -609,7 +609,7 @@ public:
/// @}
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -537,6 +537,6 @@ namespace llvm {
}
/// @}
} // namespace llvm
}
#endif

View File

@@ -97,6 +97,6 @@ unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
return Result;
}
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -655,7 +655,7 @@ struct ilist : public iplist<NodeTy> {
void resize(size_type newsize) { resize(newsize, NodeTy()); }
};
} // namespace llvm
} // End llvm namespace
namespace std {
// Ensure that swap uses the fast list swap...

View File

@@ -101,6 +101,6 @@ public:
/// @}
};
} // namespace llvm
} // End llvm namespace
#endif

View File

@@ -239,6 +239,6 @@ struct pointee_iterator
T &operator*() const { return **this->I; }
};
} // namespace llvm
}
#endif

View File

@@ -51,6 +51,6 @@ template <class T> iterator_range<T> make_range(T x, T y) {
template <typename T> iterator_range<T> make_range(std::pair<T, T> p) {
return iterator_range<T>(std::move(p.first), std::move(p.second));
}
} // namespace llvm
}
#endif