MyDeveloperDay added a comment.

Actually the 2010 failure may be my fault, I only have Visual C# installed for 
VS2010 and not the C++ compilers, as such it doesn't seem to understand C/C++ 
as the content type

if (!textBuffer.ContentType.IsOfType("C/C++"))

is failing because the ContentType is "plaintext", my guess is unless you 
install the C++ parts of VS it doesn't add the "File Type" or C/C++ and hence 
it can't detect that a .h file is anything other than plaintext, let me recheck 
VS2010 support after adding in the C++ support


http://reviews.llvm.org/D12407



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to