summaryrefslogtreecommitdiff
path: root/src/ir/iteration.h
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/ir/iteration.h
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/ir/iteration.h')
-rw-r--r--src/ir/iteration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/iteration.h b/src/ir/iteration.h
index a785fbc93..bfebf5a16 100644
--- a/src/ir/iteration.h
+++ b/src/ir/iteration.h
@@ -101,7 +101,7 @@ public:
#define DELEGATE_FIELD_TYPE(id, name)
#define DELEGATE_FIELD_ADDRESS(id, name)
-#include "wasm-delegations-fields.h"
+#include "wasm-delegations-fields.def"
}
Iterator begin() const { return Iterator(*this, 0); }