Allow replacements created from token ranges to specify language options.
authorManuel Klimek <klimek@google.com>
Wed, 3 Jun 2015 13:10:41 +0000 (13:10 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 3 Jun 2015 13:10:41 +0000 (13:10 +0000)
commit94a89231f6ca2c56228f5258d46c4d5d5c5581f5
treef8e63eba32ba4408629381eebfbadbe76ed6016f
parent1f58ef71ea400d52cb8be5cfdc0bfd20e1389ce5
Allow replacements created from token ranges to specify language options.

The default language options will lead to incorrect replacements in C++
code, for example when trying to replace nested name specifiers ending
in "::".

llvm-svn: 238922
clang/include/clang/Tooling/Core/Replacement.h
clang/lib/Tooling/Core/Replacement.cpp
clang/unittests/Tooling/RefactoringTest.cpp