summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes_shared.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2016-09-19 16:06:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-09-19 16:06:01 +0000
commit8cb366a7ba8f02094c7c3bd21e217fff52f6ad17 (patch)
tree34cb69eb540d8f57f9a7826e8242ccfe3ef81a6d /compiler/optimizing/nodes_shared.h
parent28079d33e1712382e3d2cb63fb6d692247979ec0 (diff)
parentebc3280a765f1fc0f8a7a7f4393ff20586aa7b08 (diff)
Merge "Include `nodes.h` in `nodes_shared.h` to help editing tools."
Diffstat (limited to 'compiler/optimizing/nodes_shared.h')
-rw-r--r--compiler/optimizing/nodes_shared.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes_shared.h b/compiler/optimizing/nodes_shared.h
index 8bd8667f84..ff9b5e9cfd 100644
--- a/compiler/optimizing/nodes_shared.h
+++ b/compiler/optimizing/nodes_shared.h
@@ -17,6 +17,11 @@
#ifndef ART_COMPILER_OPTIMIZING_NODES_SHARED_H_
#define ART_COMPILER_OPTIMIZING_NODES_SHARED_H_
+// This `#include` should never be used by compilation, as this file (`nodes_shared.h`) is included
+// in `nodes.h`. However it helps editing tools (e.g. YouCompleteMe) by giving them better context
+// (defining `HInstruction` and co).
+#include "nodes.h"
+
namespace art {
class HMultiplyAccumulate FINAL : public HExpression<3> {