The intellisense parser from Visual Studio Code will pretend to be
clang by defining __clang__, but it doesn't fully implement enable_if.
It does define __INTELLISENSE__ however, so we can avoid spurious
errors by also checking for that.
Details
Details
- Reviewers
JDevlieghere jasonmolenda
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 38316 Build 38315: arc lint + arc unit
Event Timeline
Comment Actions
Although this makes sense as a local workaround I'm not convinced this is worth checking in.