@@ -70,12 +70,6 @@ namespace cling {
7070 // /\brief Optimization level.
7171 unsigned OptLevel : 2 ;
7272
73- // /\brief Offset into the input line to enable the setting of the
74- // / code completion point.
75- // / -1 diasables code completion.
76- // /
77- int CodeCompletionOffset = -1 ;
78-
7973 CompilationOptions () {
8074 DeclarationExtraction = 0 ;
8175 EnableShadowing = 0 ;
@@ -91,35 +85,29 @@ namespace cling {
9185 }
9286
9387 bool operator ==(CompilationOptions Other) const {
94- return
95- DeclarationExtraction == Other.DeclarationExtraction &&
96- EnableShadowing == Other.EnableShadowing &&
97- ValuePrinting == Other.ValuePrinting &&
98- ResultEvaluation == Other.ResultEvaluation &&
99- DynamicScoping == Other.DynamicScoping &&
100- Debug == Other.Debug &&
101- CodeGeneration == Other.CodeGeneration &&
102- CodeGenerationForModule == Other.CodeGenerationForModule &&
103- IgnorePromptDiags == Other.IgnorePromptDiags &&
104- CheckPointerValidity == Other.CheckPointerValidity &&
105- OptLevel == Other.OptLevel &&
106- CodeCompletionOffset == Other.CodeCompletionOffset ;
88+ return DeclarationExtraction == Other.DeclarationExtraction &&
89+ EnableShadowing == Other.EnableShadowing &&
90+ ValuePrinting == Other.ValuePrinting &&
91+ ResultEvaluation == Other.ResultEvaluation &&
92+ DynamicScoping == Other.DynamicScoping && Debug == Other.Debug &&
93+ CodeGeneration == Other.CodeGeneration &&
94+ CodeGenerationForModule == Other.CodeGenerationForModule &&
95+ IgnorePromptDiags == Other.IgnorePromptDiags &&
96+ CheckPointerValidity == Other.CheckPointerValidity &&
97+ OptLevel == Other.OptLevel ;
10798 }
10899
109100 bool operator !=(CompilationOptions Other) const {
110- return
111- DeclarationExtraction != Other.DeclarationExtraction ||
112- EnableShadowing != Other.EnableShadowing ||
113- ValuePrinting != Other.ValuePrinting ||
114- ResultEvaluation != Other.ResultEvaluation ||
115- DynamicScoping != Other.DynamicScoping ||
116- Debug != Other.Debug ||
117- CodeGeneration != Other.CodeGeneration ||
118- CodeGenerationForModule != Other.CodeGenerationForModule ||
119- IgnorePromptDiags != Other.IgnorePromptDiags ||
120- CheckPointerValidity != Other.CheckPointerValidity ||
121- OptLevel != Other.OptLevel ||
122- CodeCompletionOffset != Other.CodeCompletionOffset ;
101+ return DeclarationExtraction != Other.DeclarationExtraction ||
102+ EnableShadowing != Other.EnableShadowing ||
103+ ValuePrinting != Other.ValuePrinting ||
104+ ResultEvaluation != Other.ResultEvaluation ||
105+ DynamicScoping != Other.DynamicScoping || Debug != Other.Debug ||
106+ CodeGeneration != Other.CodeGeneration ||
107+ CodeGenerationForModule != Other.CodeGenerationForModule ||
108+ IgnorePromptDiags != Other.IgnorePromptDiags ||
109+ CheckPointerValidity != Other.CheckPointerValidity ||
110+ OptLevel != Other.OptLevel ;
123111 }
124112 };
125113} // end namespace cling
0 commit comments