mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
42 lines
No EOL
1.2 KiB
XML
42 lines
No EOL
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
###############################################################################
|
|
# Copyright (c) 2007 IBM Corporation and others.
|
|
# All rights reserved. This program and the accompanying materials
|
|
# are made available under the terms of the Eclipse Public License v1.0
|
|
# which accompanies this distribution, and is available at
|
|
# http://www.eclipse.org/legal/epl-v10.html
|
|
#
|
|
# Contributors:
|
|
# IBM Corporation - initial API and implementation
|
|
###############################################################################
|
|
|
|
-->
|
|
|
|
<!-- NOTE TO TRANSLATOR:
|
|
* This file should remain English as it produces compilable code.
|
|
-->
|
|
|
|
<templates>
|
|
|
|
<template
|
|
name="upc_forall"
|
|
description="%forallLoop"
|
|
context="org.eclipse.cdt.ui.text.templates.c"
|
|
id="org.eclipse.cdt.ui.text.templates.c.upc_forall"
|
|
enabled="true">upc_forall (${var} = 0; ${var} < THREADS; ${var}++; ${var}) {
|
|
${line_selection}${cursor}
|
|
}</template>
|
|
|
|
<template
|
|
name="upc_max_blocksize"
|
|
description="%upcMaxBlocksize"
|
|
context="org.eclipse.cdt.ui.text.templates.c"
|
|
id="org.eclipse.cdt.ui.text.templates.c.upc_max_blocksize"
|
|
enabled="true">UPC_MAX_BLOCKSIZE</template>
|
|
|
|
</templates>
|
|
|
|
|