Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Refactoring

10-15 secs? Lucky you!
I have 20 k remote files... that takes minutes...

-------- Original Message  --------
Subject: [cdt-dev] Refactoring
From: Jesper Eskilson <jesper.eskilson@xxxxxxx>
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Date: Mittwoch, 20. April 2011 08:48:24

Hi people,

I'm attempting to rename a variable declared inside an anonymous namespace:

namespace {
X *foo;

This all goes fine, but CDT first scans every single source file in my
project (~10k), which takes an annoyingly long time (10-15 seconds).
Isn't that pretty unnecessary, given that the variable is only visible
in the current source file?

Back to the top