]> granicus.if.org Git - clang/commit
Introduce a -cc1 option "-emit-module", that creates a binary module
authorDouglas Gregor <dgregor@apple.com>
Thu, 25 Aug 2011 22:30:56 +0000 (22:30 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 25 Aug 2011 22:30:56 +0000 (22:30 +0000)
commit467dc88512b4ba4bb16e274ea3771dc1415d31da
treec5ebc779742f310ab83aa597265cfd9a7e854b0b
parentca4c40ab4995d195d9a4d175fa7c30dcc2d99ebf
Introduce a -cc1 option "-emit-module", that creates a binary module
from the given source. -emit-module behaves similarly to -emit-pch,
except that Sema is somewhat more strict about the contents of
-emit-module. In the future, there are likely to be more interesting
differences.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138595 91177308-0d34-0410-b5e6-96231b3b80d8
25 files changed:
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
include/clang/Frontend/ASTUnit.h
include/clang/Frontend/CompilerInstance.h
include/clang/Frontend/FrontendAction.h
include/clang/Frontend/FrontendActions.h
include/clang/Frontend/FrontendOptions.h
include/clang/Parse/ParseAST.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTWriter.h
lib/Frontend/ASTMerge.cpp
lib/Frontend/ASTUnit.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendAction.cpp
lib/Frontend/FrontendActions.cpp
lib/FrontendTool/ExecuteCompilerInvocation.cpp
lib/Parse/ParseAST.cpp
lib/Sema/Sema.cpp
lib/Serialization/ChainedIncludesSource.cpp
lib/Serialization/GeneratePCH.cpp
test/Modules/Inputs/lookup_left.hpp
test/Modules/lookup.cpp
test/Modules/lookup.m
tools/libclang/CIndex.cpp