#include "llvm/System/Path.h"
#include "llvm/Config/config.h"
#include <cassert>
+#include <cstring>
#include <ostream>
using namespace llvm;
using namespace sys;
return false;
}
-
+std::string
+Path::getSuffix() const {
+ return path.substr(path.rfind('.') + 1);
+}
// Include the truly platform-specific parts of this class.
#if defined(LLVM_ON_UNIX)