1 // RUN: %check_clang_tidy %s modernize-use-using %t -- -config="{CheckOptions: {modernize-use-using.IgnoreExternC: true}}" -- -I %S/Input/use-using/ 2 3 // Some Header 4 extern "C" { 5 6 typedef int NewInt; 7 } 8 9 extern "C++" { 10 11 typedef int InExternCPP; 12 // CHECK-MESSAGES: :[[@LINE-1]]:1: warning: use 'using' instead of 'typedef' [modernize-use-using] 13 // CHECK-FIXES: using InExternCPP = int; 14 } 15