Based on Doug's feedback to r153887 this omits the FixIt if the following token isn't syntactically valid for the context. (not a comma, '...', identifier, '>', or '>>') There's a bunch of work to handle the '>>' case, but it makes for a much more pleasant diagnostic in this case. llvm-svn: 154163
8 lines
238 B
C++
8 lines
238 B
C++
// RUN: %clang_cc1 -fdiagnostics-parseable-fixits -x c++ -std=c++11 %s 2>&1 | FileCheck %s
|
|
|
|
// test that the diagnostics produced by this code do not include fixit hints
|
|
|
|
// CHECK-NOT: fix-it:
|
|
|
|
template<template<typename> +> void func();
|