After some investigation, I found that we did not set LLVM_INCLUDE_TESTS from the top-level project. This seems like an oversight because we build the test-depends (and check-all) regularly.
After seeing LLVM_INCLUDE_TESTS to ON, the builds worked.
This commit cleaned things up and exposed that mistake.
Thanks for fix this. Sorry to bother you.
OK, fair enough.
For the record, FunctionTemplate case was added in https://reviews.llvm.org/rG9359e8f22a5403ad9524a92c4ccab4db46c9c100
- Add C++ test case for acceptable operator, initializer
- Update from review comments
- Disallow operator, unless inside parentheses
all stuff under llvm/... here needs testing, Bitcode and AsmParser have many tests usable as examples
To trigger "function template|different function template" diagnostic we need the entire "case FunctionTemplate" in "switch (FirstDiffType)" not to detect any mismatches. And I don't know any such cases.