[cfe-commits] r114774 - in /cfe/trunk: lib/Frontend/ASTUnit.cpp lib/Serialization/ASTReader.cpp test/Index/Inputs/a.h test/Index/Inputs/b.h test/Index/preamble-reparse-chained.c

Sebastian Redl sebastian.redl at getdesigned.at
Fri Sep 24 16:52:01 PDT 2010


On Sep 24, 2010, at 4:29 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Fri Sep 24 18:29:12 2010
> New Revision: 114774
> 
> Modified: cfe/trunk/lib/Frontend/ASTUnit.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ASTUnit.cpp?rev=114774&r1=114773&r2=114774&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Frontend/ASTUnit.cpp (original)
> +++ cfe/trunk/lib/Frontend/ASTUnit.cpp Fri Sep 24 18:29:12 2010
> @@ -749,9 +749,20 @@
>                         getSourceManager());
>       StoredDiagnostics[I].setLocation(Loc);
>     }
> +
> +    if (getenv("LIBCLANG_LOGGING"))
> +      fprintf(stderr, "libclang: using precompiled preamble for \"%s\" at "
> +              "\"%s\"\n",
> +              OriginalSourceFile.c_str(),
> +              PreambleFile.c_str());
> +

Did you intend to commit these?

Sebastian





More information about the cfe-commits mailing list