- Feb 03, 2011
-
-
Anders Carlsson authored
is not defined in the current translation unit. Doing so lead to compile errors such as PR9114. Instead, when CodeGen is building the vtable, don't try to emit a definition for functions that aren't marked used in the current translation unit. Fixes PR9114. llvm-svn: 124768
-
Francois Pichet authored
llvm-svn: 124767
-
Douglas Gregor authored
redundant searches in the string. No functionality change. llvm-svn: 124760
-
Ted Kremenek authored
Based on user feedback, swap -Wuninitialized diagnostics to have the warning refer to the bad use, and the note to the variable declaration. llvm-svn: 124758
-
Fariborz Jahanian authored
llvm-svn: 124757
-
- Feb 02, 2011
-
-
Devang Patel authored
llvm-svn: 124756
-
Douglas Gregor authored
on that name. Canonicalization eliminates silliness such as "." and "foo/.." that breaks the uniquing of files in the presence of virtual files or files whose inode numbers have changed during parsing/re-parsing. c-index-test isn't able to create this crazy situation, so I've resorted to testing outside of the Clang tree. Fixes <rdar://problem/8928220>. Note that this hackery will go away once we have a real virtual file system on which we can layer FileManager; the virtual-files hack is showing cracks. llvm-svn: 124754
-
Devang Patel authored
llvm-svn: 124753
-
Daniel Dunbar authored
CC_PRINT_OPTIONS and can be used to get some out-of-band information on header usage from a build. llvm-svn: 124751
-
Daniel Dunbar authored
information to a file. llvm-svn: 124750
-
Daniel Dunbar authored
ones outside the predefines buffer (which is what -H does). llvm-svn: 124749
-
-
Fariborz Jahanian authored
but has non-empty data fields, such as array of zero length, remains zero. // rdar://8945175 llvm-svn: 124741
-
Douglas Gregor authored
savings of 25% sounds impressive, except that this amounted to only about 360k in our standard "large" completion result set (40,000 results). Since code completion is performance-sensitive, the 4% slowdown due to uniquing outweighs the 360k benefit. llvm-svn: 124737
-
Benjamin Kramer authored
llvm-svn: 124736
-
Argyrios Kyrtzidis authored
llvm-svn: 124735
-
Daniel Dunbar authored
callbacks class. - Aside from being generally cleaner, this also allows -H to work correctly in modes other than standard preprocessing (e.g., -c, -MM, etc.) llvm-svn: 124723
-
John McCall authored
on, as well as more reliably limiting invalid references to locals from nested scopes. llvm-svn: 124721
-
Nick Lewycky authored
llvm-svn: 124719
-
Nick Lewycky authored
Fixes PR9121! llvm-svn: 124718
-
Dan Gohman authored
llvm-svn: 124715
-
Ted Kremenek authored
Remove redundant check to not warn for warn_equality_with_extra_parens if we are in a macro. This is checked twice. llvm-svn: 124714
-
Douglas Gregor authored
speed but saves us about 25% of the memory usage for strings. llvm-svn: 124704
-
John McCall authored
llvm-svn: 124702
-
Fariborz Jahanian authored
llvm-svn: 124701
-
Douglas Gregor authored
llvm-svn: 124700
-
Nick Lewycky authored
llvm-svn: 124699
-
- Feb 01, 2011
-
-
Douglas Gregor authored
the string copying goes through a single place that can have associated state. llvm-svn: 124698
-
Matt Beaumont-Gay authored
llvm-svn: 124697
-
Ted Kremenek authored
llvm-svn: 124696
-
Ted Kremenek authored
Macros frequently contain extra '()' to make instantiation less error prone. This warning was flagging a ton of times on postgresql because of its use of macros. llvm-svn: 124695
-
Argyrios Kyrtzidis authored
llvm-svn: 124689
-
John McCall authored
bit-pattern. It's not clear that this is actually useful given current language restrictions. llvm-svn: 124685
-
Nick Lewycky authored
llvm-svn: 124684
-
Douglas Gregor authored
eliminating the need to copy those strings. llvm-svn: 124683
-
Ted Kremenek authored
Add test case for dead stores checker to not flag dead assignments to 'self' within a nested assignment. llvm-svn: 124681
-
Argyrios Kyrtzidis authored
llvm-svn: 124680
-
Argyrios Kyrtzidis authored
llvm-svn: 124675
-
Argyrios Kyrtzidis authored
llvm-svn: 124674
-
Douglas Gregor authored
BumpPtrAllocator, rather than manually new/delete'ing them. This optimization also allows us to avoid allocating memory for and copying constant strings (e.g., "return", "class"). This also required embedding the priority and availability of results within the code completion string, to avoid extra memory allocation within libclang. llvm-svn: 124673
-