cling/demo/ExpressiveDiagnostics/PreciseWording.C
Fons Rademakers bb72260cfc Changes related to the use of gendered or binary language in the code.
The changes are all related to the use of gendered or binary language in
the comments, messages, and documents (e.g. referring to the user explicitly
as "he" or "he/she").  I searched for thse instances and changed them to
the gender-neutral singular they (http://en.wikipedia.org/wiki/Singular_they).
In the process I fixed quite a few typos that would show up in the
auto-generated documentation.

By Jean-François Caron jfcaron@phas.ubc.ca).
2014-05-17 15:04:59 +02:00

21 lines
634 B
C

//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TXT for details.
//------------------------------------------------------------------------------
// The demo shows the Fix-it hints that try to guess what the user had meant
// when they did the error
// Author: Vassil Vassilev <vvasilev@cern.ch>
struct A {
int X;
};
int PreciseWording () {
A SomeA;
int y = *SomeA.X;
}