summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/parsecpp_clang_only/test_isolatedComments.cpp
blob: 6677145d3789d64398aeceacdb0ba4a32a618c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

























#include <QtCore/QtCore>
#include "test_isolatedComments.h"
#include "test_QT_TR_NOOP_context_with_comments.h"

/*  TRANSLATOR MULTIPLELINE
 first line
 second line
 */
/*  TRANSLATOR
    MultipleLineSecondTry
    first line
    second line
 */

/*  TRANSLATOR
    MultipleLineThirdTry first
    line
    second line
 */

/*  TRANSLATOR
    MultipleLineFourthTry first
    line
    second line
 */


/*  TRANSLATOR MultipleAppearance first appearance */

/*  TRANSLATOR MultipleAppearance second appearance */

/* TRANSLATOR GluedNumber1 blabla */
/* TRANSLATOR GluedNumber2 blabla */
// TRANSLATOR GluedNumber3 blabla
/*TRANSLATOR
GluedNumber4
        //     whatever
        we
        have
        here
*/
/*  TRANSLATOR GluedNumber5
        //     whatever2
        we2
        have2
        here2
*/

/* TRANSLATOR GluedOnSameLineOne blabla*/ /* TRANSLATOR GluedOnSameLineTwo blabla*/
// TRANSLATORMISSINGSPACE this will not be picked up by clang cpp parser
// oooTRANSLATOR SomethingBeforeTranslator this should not be picked up
// ooo TRANSLATOR SomethingBeforeTranslatorTwo this should not be picked up
/* ooo TRANSLATOR SomethingBeforeTranslatorThree this should not be picked up */
/* ~ TRANSLATOR SomethingBeforeTranslatorFour this
  should not be picked up */
// The following comment should be ignored because the comment part is empty
/* TRANSLATOR onlyContext */