mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Regex: +regex string lifetime comment
Differential Revision: https://reviews.llvm.org/D66464 llvm-svn: 369383
This commit is contained in:
parent
816a7c4f33
commit
94efa010f3
@ -44,6 +44,9 @@ namespace llvm {
|
||||
|
||||
Regex();
|
||||
/// Compiles the given regular expression \p Regex.
|
||||
///
|
||||
/// \param Regex - referenced string is no longer needed after this
|
||||
/// constructor does finish. Only its compiled form is kept stored.
|
||||
Regex(StringRef Regex, unsigned Flags = NoFlags);
|
||||
Regex(const Regex &) = delete;
|
||||
Regex &operator=(Regex regex) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user