summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2021-06-18 13:49:25 -0700
committerGitHub <noreply@github.com>2021-06-18 13:49:25 -0700
commit97e277c51218778d1d76fd59fed3b4ca7756382e (patch)
treefdbc9ded095e8e0165c8f48372531c02abd9e0cb /src/binaryen-c.cpp
parente1586984480daf475d0941d6b6b5640fbec80558 (diff)
downloadbinaryen-97e277c51218778d1d76fd59fed3b4ca7756382e.tar.gz
binaryen-97e277c51218778d1d76fd59fed3b4ca7756382e.tar.bz2
binaryen-97e277c51218778d1d76fd59fed3b4ca7756382e.zip
Rename wasm-delegations[-fields].h to def files (NFC) (#3941)
These files are special in that they use define symbols that are not defined within those files or other files included in those files; they are supposed to be defined in source files that include these headers. This has caused clang-tidy to fail every time these files have changed because they are not compilable per se. This PR solves the problem by changing their extension to `def`, which is also used in LLVM codebase. LLVM has dozens of files like this whose extension is `def`, which makes these not checked by clang-tidy.
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r--src/binaryen-c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp
index 56bb94b50..e6ef2a366 100644
--- a/src/binaryen-c.cpp
+++ b/src/binaryen-c.cpp
@@ -185,7 +185,7 @@ BinaryenExpressionId BinaryenInvalidId(void) {
return Expression::Id::CLASS_TO_VISIT##Id; \
}
-#include "wasm-delegations.h"
+#include "wasm-delegations.def"
// External kinds