[llvm-commits] [llvm] r125574 - /llvm/trunk/lib/Support/PathV2.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Tue Feb 15 09:51:19 PST 2011


Author: akirtzidis
Date: Tue Feb 15 11:51:19 2011
New Revision: 125574

URL: http://llvm.org/viewvc/llvm-project?rev=125574&view=rev
Log:
Implement a function from PathV2 whose definition is missing.

Modified:
    llvm/trunk/lib/Support/PathV2.cpp

Modified: llvm/trunk/lib/Support/PathV2.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/PathV2.cpp?rev=125574&r1=125573&r2=125574&view=diff
==============================================================================
--- llvm/trunk/lib/Support/PathV2.cpp (original)
+++ llvm/trunk/lib/Support/PathV2.cpp Tue Feb 15 11:51:19 2011
@@ -391,6 +391,12 @@
   }
 }
 
+void append(SmallVectorImpl<char> &path,
+            const_iterator begin, const_iterator end) {
+  for (; begin != end; ++begin)
+    path::append(path, *begin);
+}
+
 const StringRef parent_path(StringRef path) {
   size_t end_pos = parent_path_end(path);
   if (end_pos == StringRef::npos)





More information about the llvm-commits mailing list