r219903 - Frontend: Fix some underscore-then-capital UB

Justin Bogner mail at justinbogner.com
Wed Oct 15 23:00:55 PDT 2014


Author: bogner
Date: Thu Oct 16 01:00:55 2014
New Revision: 219903

URL: http://llvm.org/viewvc/llvm-project?rev=219903&view=rev
Log:
Frontend: Fix some underscore-then-capital UB

Modified:
    cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp

Modified: cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp?rev=219903&r1=219902&r2=219903&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp (original)
+++ cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp Thu Oct 16 01:00:55 2014
@@ -27,8 +27,8 @@ typedef VerifyDiagnosticConsumer::Direct
 typedef VerifyDiagnosticConsumer::DirectiveList DirectiveList;
 typedef VerifyDiagnosticConsumer::ExpectedData ExpectedData;
 
-VerifyDiagnosticConsumer::VerifyDiagnosticConsumer(DiagnosticsEngine &_Diags)
-  : Diags(_Diags),
+VerifyDiagnosticConsumer::VerifyDiagnosticConsumer(DiagnosticsEngine &Diags_)
+  : Diags(Diags_),
     PrimaryClient(Diags.getClient()), OwnsPrimaryClient(Diags.ownsClient()),
     Buffer(new TextDiagnosticBuffer()), CurrentPreprocessor(nullptr),
     LangOpts(nullptr), SrcManager(nullptr), ActiveSourceFiles(0),





More information about the cfe-commits mailing list