summaryrefslogtreecommitdiff
path: root/src/jit/cpp.hint
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/cpp.hint')
-rw-r--r--src/jit/cpp.hint27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/jit/cpp.hint b/src/jit/cpp.hint
new file mode 100644
index 0000000000..b2fe33cc98
--- /dev/null
+++ b/src/jit/cpp.hint
@@ -0,0 +1,27 @@
+// cpp.hint for the JIT
+//
+// These hints are designed to improve the IntelliSense experience when browsing the JIT codebase.
+// Note that they don't need to be correct code; they just need to fix the IntelliSense problems that
+// exist without the hint.
+//
+// See the article on hints in MSDN for more information on their necessity and use:
+// http://msdn.microsoft.com/en-us/library/dd997977.aspx
+
+#define foreach_treenode_execution_order(__node, __stmt) for (;;)
+
+#define foreach_block(__compiler, __block) for (;;)
+
+#define FOREACH_REGISTER_FILE(file) for (;;)
+
+// From jit.h
+
+#define DECLARE_TYPED_ENUM(tag,baseType) enum tag : baseType
+
+#define END_DECLARE_TYPED_ENUM(tag,baseType) ;
+
+#define INDEBUG(x) x
+#define INDEBUG_COMMA(x) x,
+#define DEBUGARG(x) , x
+
+#define PROTO_ARG(x) x ,
+#define PROTO_ARGL(x) , x \ No newline at end of file