mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: emit warning about using deprecated "~OpenFOAM" expansion
- Within strings it is preferable to use the "<etc>" instead. Most use cases for the old "~OpenFOAM" expansion have been obsoleted by the #includeEtc directive.
This commit is contained in:
@ -228,7 +228,6 @@ namespace stringOps
|
||||
// -# tilde expansion
|
||||
// - leading "~/" : home directory
|
||||
// - leading "~user" : home directory for specified user
|
||||
// - leading "~OpenFOAM" : user/group/other OpenFOAM directory
|
||||
//
|
||||
// Supports default and alternative values as per the POSIX shell.
|
||||
// \code
|
||||
@ -245,6 +244,9 @@ namespace stringOps
|
||||
// - Malformed entries (eg, brace mismatch, sigil followed by bad chars)
|
||||
// are left as is.
|
||||
//
|
||||
// \note Deprecated(2018-11) Use "<etc>" instead of the rarely used
|
||||
// "~OpenFOAM" expansion
|
||||
//
|
||||
// \sa
|
||||
// Foam::findEtcFile
|
||||
string expand
|
||||
@ -268,7 +270,6 @@ namespace stringOps
|
||||
// -# tilde expansion
|
||||
// - leading "~/" : home directory
|
||||
// - leading "~user" : home directory for specified user
|
||||
// - leading "~OpenFOAM" : user/group/other OpenFOAM directory
|
||||
//
|
||||
// Supports default and alternative values as per the POSIX shell.
|
||||
// \code
|
||||
@ -285,6 +286,9 @@ namespace stringOps
|
||||
// - Malformed entries (eg, brace mismatch, sigil followed by bad chars)
|
||||
// are left as is.
|
||||
//
|
||||
// \note Deprecated(2018-11) Use "<etc>" instead of the rarely used
|
||||
// "~OpenFOAM" expansion
|
||||
//
|
||||
// \sa
|
||||
// Foam::findEtcFile
|
||||
void inplaceExpand
|
||||
|
||||
Reference in New Issue
Block a user