Skip to content

Commit

Permalink
Added emacs variables that corresponds to clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Jun 5, 2018
1 parent 5769338 commit 2a1db95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
((nil . ((indent-tabs-mode . nil)
(c-basic-offset . 2)
(fill-column . 100))))
6 changes: 2 additions & 4 deletions test/openlr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,9 @@ void test_offsets_overrun() {

void test_too_small_reference() {
auto location = "CwG1ASK3PhD82=";
try{
try {
auto locRef = LineLocation(decode64(location));
} catch (const std::invalid_argument& e) {
return;
}
} catch (const std::invalid_argument& e) { return; }
throw std::runtime_error("No error returned");
}

Expand Down

0 comments on commit 2a1db95

Please sign in to comment.