Avoid creating a redundant zero APInt.
[oota-llvm.git] / lib / System / Unix / Path.inc
index 5b91b038d43d19ec32c722a87ba0bbd6c322cad9..20d09c0f7ffbbc907a50cab66e34061c15d54c34 100644 (file)
@@ -314,7 +314,7 @@ Path::getSuffix() const {
 
   std::string::size_type dot = path.rfind('.');
   if (dot == std::string::npos || dot < slash)
-    return std::string()
+    return std::string();
   else
     return path.substr(dot + 1);
 }