diff --git a/include/llvm/ADT/DepthFirstIterator.h b/include/llvm/ADT/DepthFirstIterator.h index c5457320458..b020d48cb3f 100644 --- a/include/llvm/ADT/DepthFirstIterator.h +++ b/include/llvm/ADT/DepthFirstIterator.h @@ -135,7 +135,7 @@ private: } } this->Visited.completed(Node); - + // Oops, ran out of successors... go up a level on the stack. VisitStack.pop_back(); } while (!VisitStack.empty()); diff --git a/include/llvm/ADT/PointerUnion.h b/include/llvm/ADT/PointerUnion.h index a8ac18645f3..020c5ed44c4 100644 --- a/include/llvm/ADT/PointerUnion.h +++ b/include/llvm/ADT/PointerUnion.h @@ -31,7 +31,7 @@ template struct PointerUnionTypeSelectorReturn { /// Get a type based on whether two types are the same or not. /// /// For: -/// +/// /// \code /// typedef typename PointerUnionTypeSelector::Return Ret; /// \endcode diff --git a/include/llvm/ADT/SetVector.h b/include/llvm/ADT/SetVector.h index 220b87983ee..13378aa3a04 100644 --- a/include/llvm/ADT/SetVector.h +++ b/include/llvm/ADT/SetVector.h @@ -238,7 +238,7 @@ public: bool operator!=(const SetVector &that) const { return vector_ != that.vector_; } - + /// \brief Compute This := This u S, return whether 'This' changed. /// TODO: We should be able to use set_union from SetOperations.h, but /// SetVector interface is inconsistent with DenseSet. diff --git a/include/llvm/ADT/SmallPtrSet.h b/include/llvm/ADT/SmallPtrSet.h index e9f822e36ce..196ab633804 100644 --- a/include/llvm/ADT/SmallPtrSet.h +++ b/include/llvm/ADT/SmallPtrSet.h @@ -194,7 +194,7 @@ protected: return Bucket; return EndPointer(); } - + private: bool isSmall() const { return CurArray == SmallArray; } diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 4b4a9245178..a56bc93e111 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -343,7 +343,7 @@ /// int k; /// long long l; /// }; -/// LLVM_PACKED_END +/// LLVM_PACKED_END #ifdef _MSC_VER # define LLVM_PACKED(d) __pragma(pack(push, 1)) d __pragma(pack(pop)) # define LLVM_PACKED_START __pragma(pack(push, 1)) @@ -464,7 +464,7 @@ void AnnotateIgnoreWritesEnd(const char *file, int line); #define LLVM_PRETTY_FUNCTION __FUNCSIG__ #elif defined(__GNUC__) || defined(__clang__) #define LLVM_PRETTY_FUNCTION __PRETTY_FUNCTION__ -#else +#else #define LLVM_PRETTY_FUNCTION __func__ #endif diff --git a/include/llvm/Support/TargetParser.h b/include/llvm/Support/TargetParser.h index 63aeca7f4e1..68e6b276581 100644 --- a/include/llvm/Support/TargetParser.h +++ b/include/llvm/Support/TargetParser.h @@ -142,7 +142,7 @@ unsigned parseArchVersion(StringRef Arch); } // namespace ARM -// FIXME:This should be made into class design,to avoid dupplication. +// FIXME:This should be made into class design,to avoid dupplication. namespace AArch64 { // Arch names. diff --git a/include/llvm/TableGen/StringMatcher.h b/include/llvm/TableGen/StringMatcher.h index b4387791083..11a8ad8183a 100644 --- a/include/llvm/TableGen/StringMatcher.h +++ b/include/llvm/TableGen/StringMatcher.h @@ -38,7 +38,7 @@ private: raw_ostream &OS; public: - StringMatcher(StringRef strVariableName, + StringMatcher(StringRef strVariableName, const std::vector &matches, raw_ostream &os) : StrVariableName(strVariableName), Matches(matches), OS(os) {}