m5-c-style.el revision 664
1664Sbinkertn@umich.edu; Copyright (c) 2003-2004 The Regents of The University of Michigan
281Sstever@eecs.umich.edu; All rights reserved.
381Sstever@eecs.umich.edu;
481Sstever@eecs.umich.edu; Redistribution and use in source and binary forms, with or without
581Sstever@eecs.umich.edu; modification, are permitted provided that the following conditions are
681Sstever@eecs.umich.edu; met: redistributions of source code must retain the above copyright
781Sstever@eecs.umich.edu; notice, this list of conditions and the following disclaimer;
881Sstever@eecs.umich.edu; redistributions in binary form must reproduce the above copyright
981Sstever@eecs.umich.edu; notice, this list of conditions and the following disclaimer in the
1081Sstever@eecs.umich.edu; documentation and/or other materials provided with the distribution;
1181Sstever@eecs.umich.edu; neither the name of the copyright holders nor the names of its
1281Sstever@eecs.umich.edu; contributors may be used to endorse or promote products derived from
1381Sstever@eecs.umich.edu; this software without specific prior written permission.
1481Sstever@eecs.umich.edu;
1581Sstever@eecs.umich.edu; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1681Sstever@eecs.umich.edu; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1781Sstever@eecs.umich.edu; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1881Sstever@eecs.umich.edu; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1981Sstever@eecs.umich.edu; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2081Sstever@eecs.umich.edu; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2181Sstever@eecs.umich.edu; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2281Sstever@eecs.umich.edu; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2381Sstever@eecs.umich.edu; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2481Sstever@eecs.umich.edu; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2581Sstever@eecs.umich.edu; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2681Sstever@eecs.umich.edu;
2781Sstever@eecs.umich.edu; Authors: Nathan Binkert
2881Sstever@eecs.umich.edu;          Steve Reinhardt
2981Sstever@eecs.umich.edu
3081Sstever@eecs.umich.edu(c-add-style "m5"
31664Sbinkertn@umich.edu	     '((c-basic-offset . 4)
32664Sbinkertn@umich.edu	       (c-offsets-alist . ((substatement-open . 0)
33664Sbinkertn@umich.edu				   (inline-open . 0)
34664Sbinkertn@umich.edu				   (block-open . -4)
35664Sbinkertn@umich.edu				   (case-label . 2)
36664Sbinkertn@umich.edu				   (label . 2)
37664Sbinkertn@umich.edu				   (statement-case-intro . 2)
38664Sbinkertn@umich.edu				   (statement-case-open . 2)
39664Sbinkertn@umich.edu				   (access-label . -2)
40664Sbinkertn@umich.edu				   (innamespace . 0)))))
41