Introduce command line option -error-on-deserialized-decl that is accompanied by...
commit2d602ab01fe1ee87df29961b7b1bde328c8ef6a0
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 14 Oct 2010 20:14:25 +0000 (14 20:14 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 14 Oct 2010 20:14:25 +0000 (14 20:14 +0000)
treeededa04da23783d9c7405a3d3995a63fb751b323
parent583ff831bd226436c88999ed8f1c9101e7d8adfa
Introduce command line option -error-on-deserialized-decl that is accompanied by a name
and emits an error if a declaration with this name is deserialized from PCH.

This is for testing, to make sure that we don't deserialize stuff needlessly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116505 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Frontend/PreprocessorOptions.h
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendAction.cpp