summaryrefslogtreecommitdiff
path: root/flang/include/flang/Lower/Mangler.h
diff options
context:
space:
mode:
Diffstat (limited to 'flang/include/flang/Lower/Mangler.h')
-rw-r--r--flang/include/flang/Lower/Mangler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/flang/include/flang/Lower/Mangler.h b/flang/include/flang/Lower/Mangler.h
index e32132a6692a..1f3109b35419 100644
--- a/flang/include/flang/Lower/Mangler.h
+++ b/flang/include/flang/Lower/Mangler.h
@@ -50,6 +50,10 @@ std::string mangleName(const semantics::Symbol &,
/// Convert a derived type instance to an internal name.
std::string mangleName(const semantics::DerivedTypeSpec &, ScopeBlockIdMap &);
+/// Add a scope specific mangling prefix to a compiler generated name.
+std::string mangleName(std::string &, const Fortran::semantics::Scope &,
+ ScopeBlockIdMap &);
+
/// Recover the bare name of the original symbol from an internal name.
std::string demangleName(llvm::StringRef name);