[flang-commits] [flang] b0e35fd - [flang][NFC] Add debug dump method to evaluate::Expr and semantics::Symbol
Jean Perier via flang-commits
flang-commits at lists.llvm.org
Thu Sep 30 23:47:45 PDT 2021
Author: Jean Perier
Date: 2021-10-01T08:45:20+02:00
New Revision: b0e35fde21ecb47799603e1acfc9ffa7b83dea13
URL: https://github.com/llvm/llvm-project/commit/b0e35fde21ecb47799603e1acfc9ffa7b83dea13
DIFF: https://github.com/llvm/llvm-project/commit/b0e35fde21ecb47799603e1acfc9ffa7b83dea13.diff
LOG: [flang][NFC] Add debug dump method to evaluate::Expr and semantics::Symbol
Helps debugging when working with symbol/expression issue. The dump
method is easy to call in the debugger.
Added:
Modified:
flang/lib/Evaluate/expression.cpp
Removed:
################################################################################
diff --git a/flang/lib/Evaluate/expression.cpp b/flang/lib/Evaluate/expression.cpp
index 576e3309d536e..10866193aeb3b 100644
--- a/flang/lib/Evaluate/expression.cpp
+++ b/flang/lib/Evaluate/expression.cpp
@@ -18,6 +18,7 @@
#include "flang/Semantics/symbol.h"
#include "flang/Semantics/tools.h"
#include "flang/Semantics/type.h"
+#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"
#include <string>
#include <type_traits>
More information about the flang-commits
mailing list