r218993 - Add comment about separators must match in
Fariborz Jahanian
fjahanian at apple.com
Fri Oct 3 10:21:12 PDT 2014
Author: fjahanian
Date: Fri Oct 3 12:21:12 2014
New Revision: 218993
URL: http://llvm.org/viewvc/llvm-project?rev=218993&view=rev
Log:
Add comment about separators must match in
version numbers.
Modified:
cfe/trunk/lib/Parse/ParseDecl.cpp
Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=218993&r1=218992&r2=218993&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Fri Oct 3 12:21:12 2014
@@ -726,6 +726,7 @@ VersionTuple Parser::ParseVersionTuple(S
return VersionTuple();
}
+ // Warn if separators, be it '.' or '_', do not match.
if (AfterMajorSeparator != AfterMinorSeparator)
Diag(Tok, diag::warn_expected_consistent_version_separator);
More information about the cfe-commits
mailing list