llvm-project/clang/tools/clang-format
David Blaikie 66cc07b4f7 Remove 'const' from MemoryBuffers used through the SourceManager
This removes a const_cast added in r211884 that occurred due to an
inconsistency in how MemoryBuffers are handled between some parts of
clang and LLVM.

MemoryBuffers are immutable and the general convention in the LLVM
project is to omit const from immutable types as it's simply
redundant/verbose (see llvm::Type, for example). While this change
doesn't remove "const" from /every/ MemoryBuffer, it at least makes this
chain of ownership/usage consistent.

llvm-svn: 211915
2014-06-27 17:40:03 +00:00
..
CMakeLists.txt [CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 12:40:37 +00:00
ClangFormat.cpp Remove 'const' from MemoryBuffers used through the SourceManager 2014-06-27 17:40:03 +00:00
Makefile [Driver] Refactor clang driver to use LLVM's Option library 2013-06-14 17:17:23 +00:00
clang-format-bbedit.applescript Basic clang-format integration for BBEdit. 2013-05-02 17:37:36 +00:00
clang-format-diff.py clang-format: Add clang-format-diff usage examples for SVN. 2014-05-14 09:36:11 +00:00
clang-format-sublime.py Py3k compat for clang-format Sublime Text extension. 2013-11-08 22:46:56 +00:00
clang-format.el clang-format: Add -assume-filename option for editor integrations. 2013-09-13 13:40:24 +00:00
clang-format.py clang-format: Fix vim-integration for empty files. 2014-05-22 11:37:05 +00:00
git-clang-format clang-format: Add proto files and JavaScript to git-clang-format. 2014-04-09 09:22:35 +00:00