[Lldb-commits] [lldb] r330149 - [lldb-private] Mark a function as inline to prevent multiple def errors.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 16 12:07:14 PDT 2018


Author: davide
Date: Mon Apr 16 12:07:14 2018
New Revision: 330149

URL: http://llvm.org/viewvc/llvm-project?rev=330149&view=rev
Log:
[lldb-private] Mark a function as inline to prevent multiple def errors.

Modified:
    lldb/trunk/include/lldb/lldb-private-enumerations.h

Modified: lldb/trunk/include/lldb/lldb-private-enumerations.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-private-enumerations.h?rev=330149&r1=330148&r2=330149&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-private-enumerations.h (original)
+++ lldb/trunk/include/lldb/lldb-private-enumerations.h Mon Apr 16 12:07:14 2018
@@ -247,7 +247,7 @@ enum StatisticKind {
 };
 
 
-std::string GetStatDescription(lldb_private::StatisticKind K) {
+inline std::string GetStatDescription(lldb_private::StatisticKind K) {
    switch (K) {
    case StatisticKind::ExpressionSuccessful:
      return "Number of expr evaluation successes";




More information about the lldb-commits mailing list