llvm-project/clang/lib/Frontend
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
..
ASTConsumers.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
ASTMerge.cpp [C++11] Replacing DeclBase iterators decls_begin() and decls_end() with iterator_range decls(). The same is true for the noload versions of these APIs. Updating all of the usages of the iterators with range-based for loops. 2014-03-07 19:56:05 +00:00
ASTUnit.cpp Stop sharing the FileManager in ASTUnit::Parse 2014-06-23 16:36:40 +00:00
CMakeLists.txt Frontend: Add a CC1 flag to dump module dependencies to a directory 2014-06-19 19:36:03 +00:00
CacheTokens.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
ChainedDiagnosticConsumer.cpp Remove spurious mode marker from .cpp file. 2012-10-29 06:05:01 +00:00
ChainedIncludesSource.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
CompilerInstance.cpp Remove 'const' from MemoryBuffers used through the SourceManager 2014-06-27 17:40:03 +00:00
CompilerInvocation.cpp Add new debug kind LocTrackingOnly. 2014-06-24 17:02:17 +00:00
CreateInvocationFromCommandLine.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
DependencyFile.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
DependencyGraph.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
DiagnosticRenderer.cpp DiagnosticRenderer: emit basic notes as real diagnostics 2014-06-21 23:31:59 +00:00
FrontendAction.cpp Include system_error directly. 2014-06-12 17:19:42 +00:00
FrontendActions.cpp Refer to error_code with the std prefix. 2014-06-12 20:37:59 +00:00
FrontendOptions.cpp Remove duplicated case. 2013-06-22 16:44:45 +00:00
HeaderIncludeGen.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-13 06:07:04 +00:00
InitHeaderSearch.cpp Fix crash with x86_64-pc-win32-macho target. <rdar://problem/17235840> 2014-06-10 21:07:12 +00:00
InitPreprocessor.cpp Implement predefined stdint macros 2014-06-25 01:31:33 +00:00
LangStandards.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
LayoutOverrideSource.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
LogDiagnosticPrinter.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
Makefile
ModuleDependencyCollector.cpp Frontend: Disentangle removePathTraversal from concatenating paths 2014-06-20 03:28:46 +00:00
MultiplexConsumer.cpp Emit used/dllexport inline method definitions in nested classes (PR19743, PR11170) 2014-05-23 20:37:38 +00:00
PrintPreprocessedOutput.cpp Complete the switch from mappings to declarative diagnostic severities 2014-06-12 10:15:20 +00:00
SerializedDiagnosticPrinter.cpp Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine. 2014-05-22 19:56:11 +00:00
TextDiagnostic.cpp DiagnosticRenderer: emit basic notes as real diagnostics 2014-06-21 23:31:59 +00:00
TextDiagnosticBuffer.cpp Support 'remark' in VerifyDiagnosticConsumer 2014-05-01 14:06:01 +00:00
TextDiagnosticPrinter.cpp TextDiagnosticPrinter: use the mapped level for remark flag computation 2014-06-22 10:08:06 +00:00
VerifyDiagnosticConsumer.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00