lang/cc: remove naive cdb file check #1028
irony looks for compile_commands.json in several places, but +cc/reload-compile-db would error out if there it didn't exist at the project root.
This commit is contained in:
parent
9d374b3bfb
commit
553cee5921
1 changed files with 0 additions and 2 deletions
|
@ -96,8 +96,6 @@ preceded by the opening brace or a comma (disregarding whitespace in between)."
|
|||
(interactive)
|
||||
(unless (memq major-mode '(c-mode c++-mode objc-mode))
|
||||
(user-error "Not a C/C++/ObjC buffer"))
|
||||
(unless (project-file-exists-p! "compile_commands.json")
|
||||
(user-error "No compile_commands.json file"))
|
||||
;; first rtag
|
||||
(when (and (featurep 'rtags)
|
||||
rtags-enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue