view .dir-locals.el @ 20425:41d19a6ef55a

Allow assignment of an empty variable to an empty indexing slice (bug #45467). * Array.cc (Array<T>::assign): For 2-D case, check that neither the LHS or RHS is empty before calling gripe_assignment_dimension_mismatch(). * Array.cc (Array<T>::assign): For N-D case, check that neither the LHS or RHS is empty before calling gripe_assignment_dimension_mismatch().
author Lachlan Andrew <lachlanbis@gmail.com>
date Fri, 24 Jul 2015 14:40:18 -0700
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))