[PATCH] D117809: [clang] Add an extract-api driver option

Matt Morehouse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 26 13:38:36 PST 2022


morehouse added inline comments.


================
Comment at: clang/lib/Frontend/ExtractAPIConsumer.cpp:20
+private:
+  ASTContext *Context;
+};
----------------
`ASTContext *Context` is unused, and causing buildbot failures:  https://lab.llvm.org/buildbot/#/builders/77/builds/13645

```
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/clang/lib/Frontend/ExtractAPIConsumer.cpp:20:15: error: private field 'Context' is not used [-Werror,-Wunused-private-field]
  ASTContext *Context;
              ^
1 error generated.
```

Please fix.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117809/new/

https://reviews.llvm.org/D117809



More information about the cfe-commits mailing list