hanchenye-llvm-project/clang/lib/Lex
David Blaikie 9ffe5a3525 Prototype of modules codegen
First pass at generating weak definitions of inline functions from module files
(& skipping (-O0) or emitting available_externally (optimizations)
definitions where those modules are used).

External functions defined in modules are emitted into the modular
object file as well (this may turn an existing ODR violation (if that
module were imported into multiple translations) into valid/linkable
code).

Internal symbols (static functions, for example) are not correctly
supported yet. The symbol will be produced, internal, in the modular
object - unreferenceable from the users.

Reviewers: rsmith

Differential Revision: https://reviews.llvm.org/D28845

llvm-svn: 293456
2017-01-30 05:00:26 +00:00
..
CMakeLists.txt
HeaderMap.cpp Use StringRef for MemoryBuffer identifier API (NFC) 2016-10-01 16:38:28 +00:00
HeaderSearch.cpp [Modules] Support #import when entering files with modules 2017-01-11 02:14:51 +00:00
Lexer.cpp Allow lexer to handle string_view literals. Patch from Anton Bikineev. 2016-12-30 04:51:10 +00:00
LiteralSupport.cpp Allow lexer to handle string_view literals. Patch from Anton Bikineev. 2016-12-30 04:51:10 +00:00
MacroArgs.cpp
MacroInfo.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
ModuleMap.cpp Prototype of modules codegen 2017-01-30 05:00:26 +00:00
PPCaching.cpp [PP] Replace some index based for loops with range based ones 2016-10-26 13:06:13 +00:00
PPCallbacks.cpp
PPConditionalDirectiveRecord.cpp
PPDirectives.cpp [Modules] Support #import when entering files with modules 2017-01-11 02:14:51 +00:00
PPExpressions.cpp Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-09-07 21:53:17 +00:00
PPLexerChange.cpp Fix MSVC warning about missing 'this' from lambda default capture mode 2016-10-27 10:51:29 +00:00
PPMacroExpansion.cpp P0426: Make the library implementation of constexpr char_traits a little easier 2017-01-20 00:45:35 +00:00
PTHLexer.cpp Turn FileManager DirectoryEntry::Name from raw pointer to StringRef (NFC) 2016-10-11 07:31:29 +00:00
Pragma.cpp Do not print include_next/pragma once warnings when input is a header. 2016-10-27 14:17:10 +00:00
PreprocessingRecord.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
Preprocessor.cpp Move PreprocessorOptions to std::shared_ptr from IntrusiveRefCntPtr 2017-01-05 19:11:36 +00:00
PreprocessorLexer.cpp
ScratchBuffer.cpp
TokenConcatenation.cpp [PP] Replace some index based for loops with range based ones 2016-10-26 13:06:13 +00:00
TokenLexer.cpp [PP] Replace some index based for loops with range based ones 2016-10-26 13:06:13 +00:00
UnicodeCharSets.h