[cfe-dev] parse C++ throw

Mike Stump mrs at apple.com
Mon Feb 25 13:34:27 PST 2008

On Feb 24, 2008, at 8:24 PM, Chris Lattner wrote:
> Tabs:
> +  virtual ExprResult ActOnCXXThrow(SourceLocation OpLoc,
> +				   ExprTy *Op = 0) {

find . -name \*.h -o -name \*.cpp | xargs grep -c '      ' | grep -v ': 

:-(  Apparently I'm not the only one.  Do you think the number of  
people that miss set their physical tabs is larger than the number of  
people that use emacs?  Why not punish the people with wrong/weird  
tabs settings over punishing people that use emacs?  After all, we can  
merely educate people to use softtabstop and shiftwidth appropriately.

If not that...  could we add:
   /* -*- indent-tabs-mode:nil; -*- */
the tops of all the files or find some other way reduce the burden for  
emacs users?

Catering to people that think tabs in source files mean something  
other than 8, is like catering to people that like 6 bit characters or  
60 bit words, I'd rather just laugh at them.  Burdening all developers  
to `do something' doesn't strike me as friendly.

More information about the cfe-dev mailing list