[54e41b3] | 1 | //
|
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
|
---|
| 3 | //
|
---|
| 4 | // The contents of this file are covered under the licence agreement in the
|
---|
| 5 | // file "LICENCE" distributed with Cforall.
|
---|
| 6 | //
|
---|
| 7 | // Expr.cpp --
|
---|
| 8 | //
|
---|
| 9 | // Author : Aaron B. Moss
|
---|
| 10 | // Created On : Wed May 15 17:00:00 2019
|
---|
| 11 | // Last Modified By : Aaron B. Moss
|
---|
| 12 | // Created On : Wed May 15 17:00:00 2019
|
---|
| 13 | // Update Count : 1
|
---|
| 14 | //
|
---|
| 15 |
|
---|
| 16 | #include "Expr.hpp"
|
---|
| 17 |
|
---|
| 18 | #include <cassert> // for strict_dynamic_cast
|
---|
| 19 | #include <string> // for to_string
|
---|
| 20 | #include <vector>
|
---|
| 21 |
|
---|
[d8938622] | 22 | #include "GenericSubstitution.hpp"
|
---|
[9b4f329] | 23 | #include "Stmt.hpp"
|
---|
[54e41b3] | 24 | #include "Type.hpp"
|
---|
[d8938622] | 25 | #include "TypeSubstitution.hpp"
|
---|
[733074e] | 26 | #include "Common/utility.h"
|
---|
[54e41b3] | 27 | #include "Common/SemanticError.h"
|
---|
| 28 | #include "GenPoly/Lvalue.h" // for referencesPermissable
|
---|
| 29 | #include "InitTweak/InitTweak.h" // for getPointerBase
|
---|
| 30 | #include "ResolvExpr/typeops.h" // for extractResultType
|
---|
[9b4f329] | 31 | #include "Tuples/Tuples.h" // for makeTupleType
|
---|
[54e41b3] | 32 |
|
---|
| 33 | namespace ast {
|
---|
| 34 |
|
---|
| 35 | // --- ApplicationExpr
|
---|
| 36 |
|
---|
[87701b6] | 37 | ApplicationExpr::ApplicationExpr( const CodeLocation & loc, const Expr * f,
|
---|
| 38 | std::vector<ptr<Expr>> && as )
|
---|
| 39 | : Expr( loc ), func( f ), args( std::move(as) ) {
|
---|
[54e41b3] | 40 | // ensure that `ApplicationExpr` result type is `FuncExpr`
|
---|
| 41 | const PointerType * pt = strict_dynamic_cast< const PointerType * >( f->result.get() );
|
---|
| 42 | const FunctionType * fn = strict_dynamic_cast< const FunctionType * >( pt->base.get() );
|
---|
| 43 |
|
---|
| 44 | result = ResolvExpr::extractResultType( fn );
|
---|
| 45 | assert( result );
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | // --- UntypedExpr
|
---|
| 49 |
|
---|
| 50 | UntypedExpr * UntypedExpr::createDeref( const CodeLocation & loc, Expr * arg ) {
|
---|
| 51 | assert( arg );
|
---|
| 52 |
|
---|
[87701b6] | 53 | UntypedExpr * ret = new UntypedExpr{
|
---|
| 54 | loc, new NameExpr{loc, "*?"}, std::vector<ptr<Expr>>{ ptr<Expr>{ arg } }
|
---|
[54e41b3] | 55 | };
|
---|
| 56 | if ( const Type * ty = arg->result ) {
|
---|
| 57 | const Type * base = InitTweak::getPointerBase( ty );
|
---|
| 58 | assertf( base, "expected pointer type in dereference (type was %s)", toString( ty ).c_str() );
|
---|
| 59 |
|
---|
| 60 | if ( GenPoly::referencesPermissable() ) {
|
---|
| 61 | // if references are still allowed in the AST, dereference returns a reference
|
---|
| 62 | ret->result = new ReferenceType{ base };
|
---|
| 63 | } else {
|
---|
[87701b6] | 64 | // references have been removed, in which case dereference returns an lvalue of the
|
---|
[54e41b3] | 65 | // base type
|
---|
[d76c588] | 66 | ret->result = base;
|
---|
| 67 | add_lvalue( ret->result );
|
---|
[54e41b3] | 68 | }
|
---|
| 69 | }
|
---|
| 70 | return ret;
|
---|
| 71 | }
|
---|
| 72 |
|
---|
| 73 | UntypedExpr * UntypedExpr::createAssign( const CodeLocation & loc, Expr * lhs, Expr * rhs ) {
|
---|
| 74 | assert( lhs && rhs );
|
---|
| 75 |
|
---|
| 76 | UntypedExpr * ret = new UntypedExpr{
|
---|
| 77 | loc, new NameExpr{loc, "?=?"}, std::vector<ptr<Expr>>{ ptr<Expr>{ lhs }, ptr<Expr>{ rhs } }
|
---|
| 78 | };
|
---|
| 79 | if ( lhs->result && rhs->result ) {
|
---|
| 80 | // if both expressions are typed, assumes that this assignment is a C bitwise assignment,
|
---|
| 81 | // so the result is the type of the RHS
|
---|
| 82 | ret->result = rhs->result;
|
---|
| 83 | }
|
---|
| 84 | return ret;
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | // --- AddressExpr
|
---|
| 88 |
|
---|
| 89 | // Address expressions are typed based on the following inference rules:
|
---|
| 90 | // E : lvalue T &..& (n references)
|
---|
| 91 | // &E : T *&..& (n references)
|
---|
| 92 | //
|
---|
| 93 | // E : T &..& (m references)
|
---|
| 94 | // &E : T *&..& (m-1 references)
|
---|
| 95 |
|
---|
| 96 | namespace {
|
---|
| 97 | /// The type of the address of a type.
|
---|
| 98 | /// Caller is responsible for managing returned memory
|
---|
| 99 | Type * addrType( const Type * type ) {
|
---|
| 100 | if ( const ReferenceType * refType = dynamic_cast< const ReferenceType * >( type ) ) {
|
---|
| 101 | return new ReferenceType{ addrType( refType->base ), refType->qualifiers };
|
---|
| 102 | } else {
|
---|
| 103 | return new PointerType{ type };
|
---|
| 104 | }
|
---|
| 105 | }
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | AddressExpr::AddressExpr( const CodeLocation & loc, const Expr * a ) : Expr( loc ), arg( a ) {
|
---|
| 109 | if ( arg->result ) {
|
---|
| 110 | if ( arg->result->is_lvalue() ) {
|
---|
| 111 | // lvalue, retains all levels of reference, and gains a pointer inside the references
|
---|
| 112 | Type * res = addrType( arg->result );
|
---|
| 113 | res->set_lvalue( false ); // result of & is never an lvalue
|
---|
| 114 | result = res;
|
---|
| 115 | } else {
|
---|
| 116 | // taking address of non-lvalue, must be a reference, loses one layer of reference
|
---|
[87701b6] | 117 | if ( const ReferenceType * refType =
|
---|
[54e41b3] | 118 | dynamic_cast< const ReferenceType * >( arg->result.get() ) ) {
|
---|
| 119 | Type * res = addrType( refType->base );
|
---|
| 120 | res->set_lvalue( false ); // result of & is never an lvalue
|
---|
| 121 | result = res;
|
---|
| 122 | } else {
|
---|
[10a1225] | 123 | SemanticError( loc, arg->result.get(),
|
---|
[54e41b3] | 124 | "Attempt to take address of non-lvalue expression: " );
|
---|
| 125 | }
|
---|
| 126 | }
|
---|
| 127 | }
|
---|
| 128 | }
|
---|
| 129 |
|
---|
| 130 | // --- LabelAddressExpr
|
---|
| 131 |
|
---|
| 132 | // label address always has type `void*`
|
---|
[87701b6] | 133 | LabelAddressExpr::LabelAddressExpr( const CodeLocation & loc, Label && a )
|
---|
[54e41b3] | 134 | : Expr( loc, new PointerType{ new VoidType{} } ), arg( a ) {}
|
---|
| 135 |
|
---|
| 136 | // --- CastExpr
|
---|
| 137 |
|
---|
[87701b6] | 138 | CastExpr::CastExpr( const CodeLocation & loc, const Expr * a, GeneratedFlag g )
|
---|
[54e41b3] | 139 | : Expr( loc, new VoidType{} ), arg( a ), isGenerated( g ) {}
|
---|
| 140 |
|
---|
| 141 | // --- KeywordCastExpr
|
---|
| 142 |
|
---|
| 143 | const std::string & KeywordCastExpr::targetString() const {
|
---|
| 144 | static const std::string targetStrs[] = {
|
---|
| 145 | "coroutine", "thread", "monitor"
|
---|
| 146 | };
|
---|
| 147 | static_assert(
|
---|
| 148 | (sizeof(targetStrs) / sizeof(targetStrs[0])) == ((unsigned long)NUMBER_OF_TARGETS),
|
---|
| 149 | "Each KeywordCastExpr::Target should have a corresponding string representation"
|
---|
| 150 | );
|
---|
| 151 | return targetStrs[(unsigned long)target];
|
---|
| 152 | }
|
---|
| 153 |
|
---|
| 154 | // --- MemberExpr
|
---|
| 155 |
|
---|
| 156 | MemberExpr::MemberExpr( const CodeLocation & loc, const DeclWithType * mem, const Expr * agg )
|
---|
| 157 | : Expr( loc ), member( mem ), aggregate( agg ) {
|
---|
| 158 | assert( member );
|
---|
| 159 | assert( aggregate );
|
---|
| 160 | assert( aggregate->result );
|
---|
| 161 |
|
---|
[335f2d8] | 162 | // take ownership of member type
|
---|
| 163 | result = mem->get_type();
|
---|
| 164 | // substitute aggregate generic parameters into member type
|
---|
| 165 | genericSubsitution( aggregate->result ).apply( result );
|
---|
| 166 | // ensure lvalue and appropriate restrictions from aggregate type
|
---|
| 167 | result.get_and_mutate()->qualifiers |= aggregate->result->qualifiers | CV::Lvalue;
|
---|
[54e41b3] | 168 | }
|
---|
| 169 |
|
---|
| 170 | // --- VariableExpr
|
---|
| 171 |
|
---|
| 172 | VariableExpr::VariableExpr( const CodeLocation & loc, const DeclWithType * v )
|
---|
| 173 | : Expr( loc ), var( v ) {
|
---|
| 174 | assert( var );
|
---|
| 175 | assert( var->get_type() );
|
---|
[d76c588] | 176 | result = var->get_type();
|
---|
| 177 | add_lvalue( result );
|
---|
[54e41b3] | 178 | }
|
---|
| 179 |
|
---|
[87701b6] | 180 | VariableExpr * VariableExpr::functionPointer(
|
---|
[54e41b3] | 181 | const CodeLocation & loc, const FunctionDecl * decl ) {
|
---|
| 182 | // wrap usually-determined result type in a pointer
|
---|
| 183 | VariableExpr * funcExpr = new VariableExpr{ loc, decl };
|
---|
| 184 | funcExpr->result = new PointerType{ funcExpr->result };
|
---|
| 185 | return funcExpr;
|
---|
| 186 | }
|
---|
| 187 |
|
---|
| 188 | // --- ConstantExpr
|
---|
| 189 |
|
---|
| 190 | long long int ConstantExpr::intValue() const {
|
---|
| 191 | if ( const BasicType * bty = result.as< BasicType >() ) {
|
---|
| 192 | if ( bty->isInteger() ) {
|
---|
| 193 | return val.ival;
|
---|
| 194 | }
|
---|
| 195 | } else if ( result.as< ZeroType >() ) {
|
---|
| 196 | return 0;
|
---|
| 197 | } else if ( result.as< OneType >() ) {
|
---|
| 198 | return 1;
|
---|
| 199 | }
|
---|
| 200 | SemanticError( this, "Constant expression of non-integral type " );
|
---|
| 201 | }
|
---|
| 202 |
|
---|
| 203 | double ConstantExpr::floatValue() const {
|
---|
| 204 | if ( const BasicType * bty = result.as< BasicType >() ) {
|
---|
| 205 | if ( ! bty->isInteger() ) {
|
---|
| 206 | return val.dval;
|
---|
| 207 | }
|
---|
| 208 | }
|
---|
| 209 | SemanticError( this, "Constant expression of non-floating-point type " );
|
---|
| 210 | }
|
---|
| 211 |
|
---|
| 212 | ConstantExpr * ConstantExpr::from_bool( const CodeLocation & loc, bool b ) {
|
---|
[87701b6] | 213 | return new ConstantExpr{
|
---|
[54e41b3] | 214 | loc, new BasicType{ BasicType::Bool }, b ? "1" : "0", (unsigned long long)b };
|
---|
| 215 | }
|
---|
| 216 |
|
---|
| 217 | ConstantExpr * ConstantExpr::from_char( const CodeLocation & loc, char c ) {
|
---|
[87701b6] | 218 | return new ConstantExpr{
|
---|
[54e41b3] | 219 | loc, new BasicType{ BasicType::Char }, std::to_string( c ), (unsigned long long)c };
|
---|
| 220 | }
|
---|
| 221 |
|
---|
| 222 | ConstantExpr * ConstantExpr::from_int( const CodeLocation & loc, int i ) {
|
---|
[87701b6] | 223 | return new ConstantExpr{
|
---|
[54e41b3] | 224 | loc, new BasicType{ BasicType::SignedInt }, std::to_string( i ), (unsigned long long)i };
|
---|
| 225 | }
|
---|
| 226 |
|
---|
| 227 | ConstantExpr * ConstantExpr::from_ulong( const CodeLocation & loc, unsigned long i ) {
|
---|
[87701b6] | 228 | return new ConstantExpr{
|
---|
| 229 | loc, new BasicType{ BasicType::LongUnsignedInt }, std::to_string( i ),
|
---|
[54e41b3] | 230 | (unsigned long long)i };
|
---|
| 231 | }
|
---|
| 232 |
|
---|
| 233 | ConstantExpr * ConstantExpr::from_double( const CodeLocation & loc, double d ) {
|
---|
| 234 | return new ConstantExpr{ loc, new BasicType{ BasicType::Double }, std::to_string( d ), d };
|
---|
| 235 | }
|
---|
| 236 |
|
---|
| 237 | ConstantExpr * ConstantExpr::from_string( const CodeLocation & loc, const std::string & s ) {
|
---|
| 238 | return new ConstantExpr{
|
---|
| 239 | loc,
|
---|
[87701b6] | 240 | new ArrayType{
|
---|
[54e41b3] | 241 | new BasicType{ BasicType::Char, CV::Const },
|
---|
| 242 | ConstantExpr::from_int( loc, s.size() + 1 /* null terminator */ ),
|
---|
| 243 | FixedLen, DynamicDim },
|
---|
| 244 | std::string{"\""} + s + "\"",
|
---|
[20a5977] | 245 | (unsigned long long)0,
|
---|
| 246 | ConstantExpr::String };
|
---|
[54e41b3] | 247 | }
|
---|
| 248 |
|
---|
| 249 | ConstantExpr * ConstantExpr::null( const CodeLocation & loc, const Type * ptrType ) {
|
---|
| 250 | return new ConstantExpr{
|
---|
| 251 | loc, ptrType ? ptrType : new PointerType{ new VoidType{} }, "0", (unsigned long long)0 };
|
---|
| 252 | }
|
---|
| 253 |
|
---|
| 254 | // --- SizeofExpr
|
---|
| 255 |
|
---|
| 256 | SizeofExpr::SizeofExpr( const CodeLocation & loc, const Expr * e )
|
---|
| 257 | : Expr( loc, new BasicType{ BasicType::LongUnsignedInt } ), expr( e ), type( nullptr ) {}
|
---|
| 258 |
|
---|
| 259 | SizeofExpr::SizeofExpr( const CodeLocation & loc, const Type * t )
|
---|
| 260 | : Expr( loc, new BasicType{ BasicType::LongUnsignedInt } ), expr( nullptr ), type( t ) {}
|
---|
| 261 |
|
---|
| 262 | // --- AlignofExpr
|
---|
| 263 |
|
---|
| 264 | AlignofExpr::AlignofExpr( const CodeLocation & loc, const Expr * e )
|
---|
| 265 | : Expr( loc, new BasicType{ BasicType::LongUnsignedInt } ), expr( e ), type( nullptr ) {}
|
---|
| 266 |
|
---|
| 267 | AlignofExpr::AlignofExpr( const CodeLocation & loc, const Type * t )
|
---|
| 268 | : Expr( loc, new BasicType{ BasicType::LongUnsignedInt } ), expr( nullptr ), type( t ) {}
|
---|
| 269 |
|
---|
| 270 | // --- OffsetofExpr
|
---|
| 271 |
|
---|
| 272 | OffsetofExpr::OffsetofExpr( const CodeLocation & loc, const Type * ty, const DeclWithType * mem )
|
---|
| 273 | : Expr( loc, new BasicType{ BasicType::LongUnsignedInt } ), type( ty ), member( mem ) {
|
---|
| 274 | assert( type );
|
---|
| 275 | assert( member );
|
---|
| 276 | }
|
---|
| 277 |
|
---|
| 278 | // --- OffsetPackExpr
|
---|
| 279 |
|
---|
| 280 | OffsetPackExpr::OffsetPackExpr( const CodeLocation & loc, const StructInstType * ty )
|
---|
[87701b6] | 281 | : Expr( loc, new ArrayType{
|
---|
| 282 | new BasicType{ BasicType::LongUnsignedInt }, nullptr, FixedLen, DynamicDim }
|
---|
[54e41b3] | 283 | ), type( ty ) {
|
---|
| 284 | assert( type );
|
---|
| 285 | }
|
---|
| 286 |
|
---|
| 287 | // --- LogicalExpr
|
---|
| 288 |
|
---|
[87701b6] | 289 | LogicalExpr::LogicalExpr(
|
---|
[54e41b3] | 290 | const CodeLocation & loc, const Expr * a1, const Expr * a2, LogicalFlag ia )
|
---|
| 291 | : Expr( loc, new BasicType{ BasicType::SignedInt } ), arg1( a1 ), arg2( a2 ), isAnd( ia ) {}
|
---|
| 292 |
|
---|
[9b4f329] | 293 | // --- ConstructorExpr
|
---|
| 294 |
|
---|
[10a1225] | 295 | ConstructorExpr::ConstructorExpr( const CodeLocation & loc, const Expr * call )
|
---|
[9b4f329] | 296 | : Expr( loc ), callExpr( call ) {
|
---|
[10a1225] | 297 | // allow resolver to type a constructor used as an expression if it has the same type as its
|
---|
[9b4f329] | 298 | // first argument
|
---|
| 299 | assert( callExpr );
|
---|
| 300 | const Expr * arg = InitTweak::getCallArg( callExpr, 0 );
|
---|
| 301 | assert( arg );
|
---|
| 302 | result = arg->result;
|
---|
| 303 | }
|
---|
| 304 |
|
---|
| 305 | // --- CompoundLiteralExpr
|
---|
| 306 |
|
---|
| 307 | CompoundLiteralExpr::CompoundLiteralExpr( const CodeLocation & loc, const Type * t, const Init * i )
|
---|
| 308 | : Expr( loc ), init( i ) {
|
---|
| 309 | assert( t && i );
|
---|
[d76c588] | 310 | result = t;
|
---|
| 311 | add_lvalue( result );
|
---|
[9b4f329] | 312 | }
|
---|
| 313 |
|
---|
| 314 | // --- TupleExpr
|
---|
| 315 |
|
---|
| 316 | TupleExpr::TupleExpr( const CodeLocation & loc, std::vector<ptr<Expr>> && xs )
|
---|
| 317 | : Expr( loc, Tuples::makeTupleType( xs ) ), exprs( xs ) {}
|
---|
| 318 |
|
---|
| 319 | // --- TupleIndexExpr
|
---|
| 320 |
|
---|
| 321 | TupleIndexExpr::TupleIndexExpr( const CodeLocation & loc, const Expr * t, unsigned i )
|
---|
| 322 | : Expr( loc ), tuple( t ), index( i ) {
|
---|
[10a1225] | 323 | const TupleType * type = strict_dynamic_cast< const TupleType * >( tuple->result.get() );
|
---|
[9b4f329] | 324 | assertf( type->size() > index, "TupleIndexExpr index out of bounds: tuple size %d, requested "
|
---|
| 325 | "index %d in expr %s", type->size(), index, toString( tuple ).c_str() );
|
---|
| 326 | // like MemberExpr, TupleIndexExpr is always an lvalue
|
---|
[d76c588] | 327 | result = type->types[ index ];
|
---|
| 328 | add_lvalue( result );
|
---|
[9b4f329] | 329 | }
|
---|
| 330 |
|
---|
| 331 | // --- TupleAssignExpr
|
---|
| 332 |
|
---|
[10a1225] | 333 | TupleAssignExpr::TupleAssignExpr(
|
---|
| 334 | const CodeLocation & loc, std::vector<ptr<Expr>> && assigns,
|
---|
[9b4f329] | 335 | std::vector<ptr<ObjectDecl>> && tempDecls )
|
---|
| 336 | : Expr( loc, Tuples::makeTupleType( assigns ) ), stmtExpr() {
|
---|
[10a1225] | 337 | // convert internally into a StmtExpr which contains the declarations and produces the tuple of
|
---|
[9b4f329] | 338 | // the assignments
|
---|
| 339 | std::list<ptr<Stmt>> stmts;
|
---|
| 340 | for ( const ObjectDecl * obj : tempDecls ) {
|
---|
| 341 | stmts.emplace_back( new DeclStmt{ loc, obj } );
|
---|
| 342 | }
|
---|
| 343 | TupleExpr * tupleExpr = new TupleExpr{ loc, std::move(assigns) };
|
---|
| 344 | assert( tupleExpr->result );
|
---|
| 345 | stmts.emplace_back( new ExprStmt{ loc, tupleExpr } );
|
---|
| 346 | stmtExpr = new StmtExpr{ loc, new CompoundStmt{ loc, std::move(stmts) } };
|
---|
| 347 | }
|
---|
| 348 |
|
---|
[0b57626] | 349 | TupleAssignExpr::TupleAssignExpr(
|
---|
[20de6fb] | 350 | const CodeLocation & loc, const Type * result, const StmtExpr * s )
|
---|
| 351 | : Expr( loc, result ), stmtExpr() {
|
---|
| 352 | stmtExpr = s;
|
---|
| 353 | }
|
---|
| 354 |
|
---|
[9b4f329] | 355 | // --- StmtExpr
|
---|
| 356 |
|
---|
[10a1225] | 357 | StmtExpr::StmtExpr( const CodeLocation & loc, const CompoundStmt * ss )
|
---|
[9b4f329] | 358 | : Expr( loc ), stmts( ss ), returnDecls(), dtors() { computeResult(); }
|
---|
| 359 |
|
---|
| 360 | void StmtExpr::computeResult() {
|
---|
| 361 | assert( stmts );
|
---|
| 362 | const std::list<ptr<Stmt>> & body = stmts->kids;
|
---|
| 363 | if ( ! returnDecls.empty() ) {
|
---|
[10a1225] | 364 | // prioritize return decl for result type, since if a return decl exists, then the StmtExpr
|
---|
[9b4f329] | 365 | // is currently in an intermediate state where the body will always give a void result type
|
---|
| 366 | result = returnDecls.front()->get_type();
|
---|
| 367 | } else if ( ! body.empty() ) {
|
---|
| 368 | if ( const ExprStmt * exprStmt = body.back().as< ExprStmt >() ) {
|
---|
| 369 | result = exprStmt->expr->result;
|
---|
| 370 | }
|
---|
| 371 | }
|
---|
| 372 | // ensure a result type exists
|
---|
| 373 | if ( ! result ) { result = new VoidType{}; }
|
---|
| 374 | }
|
---|
| 375 |
|
---|
| 376 | // --- UniqueExpr
|
---|
| 377 |
|
---|
| 378 | unsigned long long UniqueExpr::nextId = 0;
|
---|
| 379 |
|
---|
[10a1225] | 380 | UniqueExpr::UniqueExpr( const CodeLocation & loc, const Expr * e, unsigned long long i )
|
---|
[9b4f329] | 381 | : Expr( loc, e->result ), id( i ) {
|
---|
| 382 | assert( expr );
|
---|
[10a1225] | 383 | if ( id == -1ull ) {
|
---|
| 384 | assert( nextId != -1ull );
|
---|
[9b4f329] | 385 | id = nextId++;
|
---|
| 386 | }
|
---|
[54e41b3] | 387 | }
|
---|
| 388 |
|
---|
[10a1225] | 389 | }
|
---|
| 390 |
|
---|
[54e41b3] | 391 | // Local Variables: //
|
---|
| 392 | // tab-width: 4 //
|
---|
| 393 | // mode: c++ //
|
---|
| 394 | // compile-command: "make install" //
|
---|
| 395 | // End: //
|
---|