[cfe-commits] r172295 - in /cfe/trunk/unittests: Basic/SourceManagerTest.cpp Lex/LexerTest.cpp Lex/PPCallbacksTest.cpp Lex/PPConditionalDirectiveRecordTest.cpp

Douglas Gregor dgregor at apple.com
Fri Jan 11 19:06:04 PST 2013


Thanks!

Sent from my iPhone

On Jan 11, 2013, at 6:16 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:

> Author: chapuni
> Date: Fri Jan 11 20:16:29 2013
> New Revision: 172295
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=172295&view=rev
> Log:
> clang/unittests: Fixup corresponding to r172290.
> 
> Modified:
>    cfe/trunk/unittests/Basic/SourceManagerTest.cpp
>    cfe/trunk/unittests/Lex/LexerTest.cpp
>    cfe/trunk/unittests/Lex/PPCallbacksTest.cpp
>    cfe/trunk/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
> 
> Modified: cfe/trunk/unittests/Basic/SourceManagerTest.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/SourceManagerTest.cpp?rev=172295&r1=172294&r2=172295&view=diff
> ==============================================================================
> --- cfe/trunk/unittests/Basic/SourceManagerTest.cpp (original)
> +++ cfe/trunk/unittests/Basic/SourceManagerTest.cpp Fri Jan 11 20:16:29 2013
> @@ -58,6 +58,9 @@
>                                       bool IsInclusionDirective) {
>     return ModuleLoadResult();
>   }
> +
> +  virtual void makeModuleVisible(Module *Mod,
> +                                 Module::NameVisibilityKind Visibility) { }
> };
> 
> TEST_F(SourceManagerTest, isBeforeInTranslationUnit) {
> 
> Modified: cfe/trunk/unittests/Lex/LexerTest.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Lex/LexerTest.cpp?rev=172295&r1=172294&r2=172295&view=diff
> ==============================================================================
> --- cfe/trunk/unittests/Lex/LexerTest.cpp (original)
> +++ cfe/trunk/unittests/Lex/LexerTest.cpp Fri Jan 11 20:16:29 2013
> @@ -59,6 +59,9 @@
>                                       bool IsInclusionDirective) {
>     return ModuleLoadResult();
>   }
> +
> +  virtual void makeModuleVisible(Module *Mod,
> +                                 Module::NameVisibilityKind Visibility) { }
> };
> 
> TEST_F(LexerTest, LexAPI) {
> 
> Modified: cfe/trunk/unittests/Lex/PPCallbacksTest.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Lex/PPCallbacksTest.cpp?rev=172295&r1=172294&r2=172295&view=diff
> ==============================================================================
> --- cfe/trunk/unittests/Lex/PPCallbacksTest.cpp (original)
> +++ cfe/trunk/unittests/Lex/PPCallbacksTest.cpp Fri Jan 11 20:16:29 2013
> @@ -36,6 +36,9 @@
>                                       bool IsInclusionDirective) {
>     return ModuleLoadResult();
>   }
> +
> +  virtual void makeModuleVisible(Module *Mod,
> +                                 Module::NameVisibilityKind Visibility) { }
> };
> 
> // Stub to collect data from InclusionDirective callbacks.
> 
> Modified: cfe/trunk/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Lex/PPConditionalDirectiveRecordTest.cpp?rev=172295&r1=172294&r2=172295&view=diff
> ==============================================================================
> --- cfe/trunk/unittests/Lex/PPConditionalDirectiveRecordTest.cpp (original)
> +++ cfe/trunk/unittests/Lex/PPConditionalDirectiveRecordTest.cpp Fri Jan 11 20:16:29 2013
> @@ -59,6 +59,9 @@
>                                       bool IsInclusionDirective) {
>     return ModuleLoadResult();
>   }
> +
> +  virtual void makeModuleVisible(Module *Mod,
> +                                 Module::NameVisibilityKind Visibility) { }
> };
> 
> TEST_F(PPConditionalDirectiveRecordTest, PPRecAPI) {
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list