summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/Program.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Program.h')
-rw-r--r--include/llvm/Support/Program.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Support/Program.h b/include/llvm/Support/Program.h
index bf65011..fb177de 100644
--- a/include/llvm/Support/Program.h
+++ b/include/llvm/Support/Program.h
@@ -14,6 +14,7 @@
#ifndef LLVM_SUPPORT_PROGRAM_H
#define LLVM_SUPPORT_PROGRAM_H
+#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/Path.h"
namespace llvm {
@@ -140,6 +141,10 @@ namespace sys {
/// @}
};
+
+ // Return true if the given arguments fit within system-specific
+ // argument length limits.
+ bool argumentsFitWithinSystemLimits(ArrayRef<const char*> Args);
}
}
OpenPOWER on IntegriCloud